Game Development Community

Simple Net Object Help

by Benny Peake · in Torque Game Builder · 06/17/2010 (7:10 pm) · 0 replies

Im having trouble getting the SimpleNetObject to work and I can't find any help in the documentation. I've put
%N = new SimpleNetObject()
   {};
   %N.scopeToClient(%client);
   echo(%N.getGhostID());
   %N.setMessage("TEST");
inside my onClientConnection function but the object doesn't print out the line. I ran through it in C++ and noticed that it was not reaching the packUpdate method. Is there anything else I need to add to the 1.7.5 source code to get NetObjects to work. Thanks