GetState not .setState
by Christian · in Torque Game Engine · 03/04/2007 (8:27 pm) · 1 replies
When an AI dies, their .getState() is set to dead. There is not .setState in their .dump(). How do you change it to "Move".
by Christian · in Torque Game Engine · 03/04/2007 (8:27 pm) · 1 replies
Associate Fyodor -bank- Osokin
Dedicated Logic
While to object is in "moving" phrase, it's state changed by c++ code to "Move".
Have a look at the /engine/game/player.cc and shapeBase.cc code, there is a lot of interesting stuff
good luck
P.S. you can do %obj.dump() to see all possible functions to call on selected object.
edit: some formatting