MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / DefineEngineMethod

Function DefineEngineMethod

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 */
421DefineEngineMethod( 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!

Callers 1

aiClient.cppFile · 0.70

Calls 9

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

Tested by

no test coverage detected