Merge branch 'aiplayer-fixes' of https://github.com/eightyeight/Torque3D into eightyeight-aiplayer-fixes

This commit is contained in:
David Wyand 2012-10-04 14:00:00 -04:00
commit a3ca8b92ac

View file

@ -494,6 +494,16 @@ DefineEngineMethod( AIPlayer, setMoveSpeed, void, ( F32 speed ),,
object->setMoveSpeed(speed);
}
DefineEngineMethod( AIPlayer, getMoveSpeed, F32, ( ),,
"@brief Gets the move speed of an AI object.\n\n"
"@return A speed multiplier between 0.0 and 1.0.\n\n"
"@see setMoveSpeed()\n")
{
return object->getMoveSpeed();
}
DefineEngineMethod( AIPlayer, setMoveDestination, void, ( Point3F goal, bool slowDown ), ( true ),
"@brief Tells the AI to move to the location provided\n\n"