Game Development Community

A few questions on networking and such

by Matt "Mr. Pig" Razza · in Torque Game Engine · 05/14/2007 (5:22 pm) · 2 replies

I've got a few questions (all about the engine):
1. What's the difference between 'writePacketData' and 'packUpdate' (as seen in player.cc)
2. What's the best way to transfer the "name" of a datablock (I have a datablock var within the player class and need the "name" - or datablock replicated to the client - if that makes any sense)
3. Is there any way to get the "name" of a datablock - for example playerData.getDatablockName(); would return "playerB" because playerB is the datablock as defined in script (and playerData is the var within a class).

Thanks much.

#1
05/14/2007 (11:31 pm)
I would be happy to answer these questions in the Private SDK forums
#2
05/15/2007 (12:45 pm)
I put this in public? Jesus. How did I not notice that.

Sorry.