Thanks - had just found it :^)

I'm betting this is the basis for what I want to do - i'll just have to do my
own filtering by ent name, distance from query point, etc.

        C_BaseEntityIterator iterator;
        C_BaseEntity *pEnt;
        while ( (pEnt = iterator.Next()) != NULL )
        {
                pEnt->Simulate();
        }

Quoting Scott Loyd <[EMAIL PROTECTED]>:

> --
> [ Picked text/plain from multipart/alternative ]
> ClientEntityList()
> cliententitylist.cpp/.h
>
> On 4/25/06, Tim Holt <[EMAIL PROTECTED]> wrote:
> >
> > I would like to get an entity list for a client HUD element, ideally
> > calling
> > something like FindEntityByClassnameWithin on the client side.  The
> > problem is,
> > this is a server side thingey, so no luck.
> >
> > Any advice on a clean way to do this?   The console "cl_showents" command
> > seems
> > like it would be a good code example/model, but it doesn't seem to be
> > actually
> > implemented anywhere in the SDK (which makes me think it's non-trivial).
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to