passing prefs from client to server
by Tom Vogt · in Torque Game Engine · 09/03/2002 (4:05 am) · 2 replies
I want to pass preferences from the client to the server on connect, i.e. in the GUI you select a vehicle, weapon, skin, race, whatever. This is stored in your preferences. On connect, I want to pass this information to the server, because depending on what you selected, a different player shape will be created.
I've looked everywhere and not found anything. I know it's possible to use commands to server, but that requires I don't create the player object right away.
Any go on this? Think preselecting your race in RW, so you start as an Orc or Human, not choosing your race in-game.
I've looked everywhere and not found anything. I know it's possible to use commands to server, but that requires I don't create the player object right away.
Any go on this? Think preselecting your race in RW, so you start as an Orc or Human, not choosing your race in-game.
About the author
#2
See this doc: www.garagegames.com/docs/torque.sdk/engine/index.php#Networking
Under the heading "Network Console Commands"
06/13/2003 (10:08 pm)
Don't think of it as passing a variable. Call a remote function, with the parameter being the variable. (Ok so that's passing a variable)See this doc: www.garagegames.com/docs/torque.sdk/engine/index.php#Networking
Under the heading "Network Console Commands"
Torque 3D Owner Nick "Dig" Koirala
LittleMonkey Ltd.
I only have one variable to pass from client to server, I'm sure theres an obvious way to do it...
Any ideas?