Game Development Community

RTS Prototype question

by Juan Carlos · in Torque 3D Beginner · 11/10/2010 (3:35 am) · 2 replies

Hi all,

I'm trying to do the RTS prototype tutorial but on the ground plane instead of using a terrain. But for some reason I get this error.

art/gui/PlayGui.gui (334): Unknown command setMoveDestination.
Object (3511) Player -> ShapeBase -> GameBase -> SceneObject -> NetObject -> SimObject

Anybody knows what I'm doing wrong.

Also, Is there a tutorial on how to do something similar to ContainerRayCast but using names instead of TypeMasks?

Thanks.

#1
11/12/2010 (8:24 pm)
It seems you are trying to use setMoveDestination on a Player Object. This function is only available to AIPlayer Objects.
#2
11/14/2010 (3:01 pm)
Thanks. It was that.