I've setup a custom entity to create security camera style spectator
positions; at initialspawn, I create a vector of ehandles to store them.
Then in FindNextObserverTarget, I loop through this vector and compare
against the existing observer target, if I find it, I return the next item
in the vector (or previous, depending on order). There are checks for out of
bounds, these work nicely.

The new observer target gets set successfully, but when it comes to
calculating the view on the client, GetObserverTarget returns an invalid
pointer. I'm a bit wary of networked entities, I've double checked the VDN
for any further information that might help but it's proving elusive if it's
there. Anyone got any ideas about how / why this is happening?

Cheers,

Chris


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

Reply via email to