mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge branch 'aiplayer-fixes' of https://github.com/eightyeight/Torque3D into eightyeight-aiplayer-fixes
This commit is contained in:
commit
a3ca8b92ac
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue