--
[ Picked text/plain from multipart/alternative ]
The client shouldn't even know the entity's name anyways... it should only
know the nearest defined network class relative to the networked entity's
class. What function do you use to retrieve the entity's name on the
client?
--
ts2do
--
Msg("cl: %s\n", pEnt->GetClassname() );
Actually, that's kinda unexpected about the client not knowing the
entities classname. Doesn't it have a copy of the BSP and spawn it's own
copy of the entities? I would have thought that when the client spawns
its own version of an entity that the correct classname would get set.
In fact, I have code on the client that looks for specific entity types.
It's a bit scary now that it's been revealed that the client is loose
with the entity names.
On the other hand, the network class might explain what's happening with
the classname since func_platrot doesn't have any network vars defined,
but the baseclass (func_plat) does.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders