Uknown Command
by Fucifer · in Torque Game Engine · 08/12/2006 (6:46 pm) · 2 replies
After add this code to the player.cs for dismount a vehicle.
function serverCmdsetPlayerControl(%client)
{
%client.setControlObject(%client.player);
}
function getOut()
{
commandToServer('setPlayerControl');
schedule(500,0,"jump","");
schedule(600,0,"jump","");
}
I get this in the console.
starter.fps/server/scripts/player.cs (722): Unknown command setObjectActiveImage
object LocalClientConnection (1603) GameConnection NetConnection SimGroup SimSet SimObject
Without this the dismount will not work. Anyone have any idea of how could fix this.
function serverCmdsetPlayerControl(%client)
{
%client.setControlObject(%client.player);
}
function getOut()
{
commandToServer('setPlayerControl');
schedule(500,0,"jump","");
schedule(600,0,"jump","");
}
I get this in the console.
starter.fps/server/scripts/player.cs (722): Unknown command setObjectActiveImage
object LocalClientConnection (1603) GameConnection NetConnection SimGroup SimSet SimObject
Without this the dismount will not work. Anyone have any idea of how could fix this.
#2
08/12/2006 (8:21 pm)
That what I was think but if remove the code the Unknown command goes away. 722 is a blank line.
Torque Owner Cinder Games
What's line 722 have?