You can use ClientEntityList().GetClientEntity(int index), however you'll run into problems unless all your server entities also exist on the client. For instance, you may well have entities which exist server-side only (such as your control points).
In this case, user messages are probably a better option - you could have control points on the server send out update messages every so often. Alternatively, if you're happier with the entity code, just create stub classes for your control points &c client-side, just so that the client knows about their existence and position. -----Original Message----- From: Draco [mailto:[EMAIL PROTECTED] Sent: 25 August 2005 12:02 To: [email protected] Subject: [hlcoders] findind entities client side Hi, just a quick question. I have a VGUI panel that is going to display the status of control points on the map. The entity we are using to place these points has a client side class too so I want to be able to grab the info from the client version instead of using user messages. I was about to use the gEntList.FindEntityByClassname function then I noticed it's never used client side. Is there a client equilivant to this? I need to search for every ent with the classname "flag" and get info from them. Or is this a job for user messages? -- Draco _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ __________________________________________________________________________________________________________________________________________ Information contained in this e-mail is intended for the use of the addressee only, and is confidential and may be the subject of Legal Professional Privilege. Any dissemination, distribution, copying or use of this communication without prior permission of the addressee is strictly prohibited.The views of the author may not necessarily constitute the views of Kuju Entertainment Ltd. Nothing in this email shall bind Kuju Entertainment Ltd in any contract or obligation. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. While Kuju Entertainment has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. __________________________________________________________________________________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email _________________________________________________________________________________________________________________________________________ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

