Information not available client-side
by Ian Omroth Hardingham · in Torque Game Engine · 04/04/2002 (1:57 pm) · 4 replies
Can anyone tell me what data is _not_ available for the client?
For instance, can I get all the %client object pointers client-side?
For instance, can I get all the %client object pointers client-side?
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
#2
Can you try to explain the exact thing you're trying to do, and what exactly you want to get from each client?
04/07/2002 (10:47 pm)
Heh, I wish I could supply some info but your question is a bit difficult to understand.Can you try to explain the exact thing you're trying to do, and what exactly you want to get from each client?
#3
Server side I would get this by:
%count = ClientGroup.getCount();
for ( %ci = 0; %ci < %count; %ci++ )
{
%client = ClientGroup.getObject( %ci );
%client_transforms[%i] = %client.player.getTransform()
}
But I would ideally like to make this particular script clientside.
04/08/2002 (2:11 am)
What I need is the list of client transforms.Server side I would get this by:
%count = ClientGroup.getCount();
for ( %ci = 0; %ci < %count; %ci++ )
{
%client = ClientGroup.getObject( %ci );
%client_transforms[%i] = %client.player.getTransform()
}
But I would ideally like to make this particular script clientside.
#4
You should not expose this kind of functionality client-side.
What do you need this information for?
04/08/2002 (5:05 am)
This kind of functionality would enable clients connecting to your game server to cheat with 'always hit' mods.You should not expose this kind of functionality client-side.
What do you need this information for?
Torque 3D Owner Joel Baxter