MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / DefineConsoleMethod

Function DefineConsoleMethod

Engine/source/T3D/aiClient.cpp:421–425  ·  view source on GitHub ↗

* Sets the move speed for an AI object */

Source from the content-addressed store, hash-verified

419 * Sets the move speed for an AI object
420 */
421DefineConsoleMethod( AIClient, setMoveSpeed, void, (F32 speed), , "ai.setMoveSpeed( float );" )
422{
423 AIClient *ai = static_cast<AIClient *>( object );
424 ai->setMoveSpeed( speed );
425}
426
427/**
428 * Stops all AI movement, halt!

Calls 9

setMoveModeMethod · 0.80
setTargetObjectMethod · 0.80
missionCycleCleanupMethod · 0.80
getColumnMethod · 0.80
findObjectFunction · 0.50
setMoveSpeedMethod · 0.45
getControlObjectMethod · 0.45
getTransformMethod · 0.45
setMoveDestinationMethod · 0.45

Tested by

no test coverage detected