RTS prototype Unknown command setMoveDestination.
by gowinder · in Torque Developer Network · 01/12/2010 (2:56 am) · 3 replies
when i follow the document to the rts prototype, after i add
if( %scanTarg )
{
ClientGroup.getObject(0).player.setMoveDestination( getWords(%scanTarg, 1, 3) );
}
in scripts/gui/playGui.cs at the PlayGui::onRightMouseDown function,then i run the demo to test it with torsion, at the output window there is an error:
scripts/gui/playGui.cs (84): Unknown command setMoveDestination.
Object (3244) Player -> ShapeBase -> GameBase -> SceneObject -> NetObject -> SimObject
what is my problem?
Please help me guys!
if( %scanTarg )
{
ClientGroup.getObject(0).player.setMoveDestination( getWords(%scanTarg, 1, 3) );
}
in scripts/gui/playGui.cs at the PlayGui::onRightMouseDown function,then i run the demo to test it with torsion, at the output window there is an error:
scripts/gui/playGui.cs (84): Unknown command setMoveDestination.
Object (3244) Player -> ShapeBase -> GameBase -> SceneObject -> NetObject -> SimObject
what is my problem?
Please help me guys!
Torque 3D Owner JANR