• Entities are null unless the player has been near to them?
    2 replies, posted
I have made a control points system consisting of 8 points which are spread out around the map. The issue I am having is that the entities are null to you if you have not been near them, for instance: ents.FindByClass( "base_alpha" )[1] returns null if I have spawned at the opposite end of the map. This is a big issue for me as the map VGUI I have made isn't working, due to the fact that it displays who owns and the capture progress of the point from NW variables stored on the entity serverside. If anyone knows a solution I would love to know. The only solution I can think of is to use network messages to sync the control points which would be very badly optimised. Thanks, 92.
You're either going to have to network the information with net messages, or make the entity always transmit using [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/ENTITY/UpdateTransmitState]ENT:UpdateTransmitState[/url].
Thank you so much!
Sorry, you need to Log In to post a reply to this thread.