Hey Guys,

I've read over the wiki entry about Network entities and creating shared
variables, but I can't really seem to get it to work.

The entity is already created on the server, an 'arena'. It inherits
CLogicalEntity and contains information like the name of the field, id, etc
etc. The data table for sharing information is setup.

I want to be able to get this information from the server so I can display
such things in a VGUI menu. The problem I'm having is I'm not sure how to
actually setup the client side. I set the LINK_ENTITY_TO_CLASS( hammer_ent,
C_ArenaEntity ) and I inherit C_BaseEntity. My first general impression was
when that entity is found by the client on the map, then it establishes a
class and because I have the client/server data tables it'll share the
information (I've already created the network entities for such things.)
When debugging the code however, as soon as the game starts it goes directly
to the client datatable and never reaches during loading of the map, like
the server side does.

Maybe I'm just over analyzing it or making it a bit more difficult then it
actually is, but I can't really seem to wrap my head around it. Any help at
all would be great. Thank you!
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to