MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / set_desired_position

Method set_desired_position

ogsr_engine/xrGame/script_game_object3.cpp:394–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void CScriptGameObject::set_desired_position()
395{
396 CAI_Stalker* stalker = smart_cast<CAI_Stalker*>(&object());
397 if (!stalker)
398 ai().script_engine().script_log(ScriptStorage::eLuaMessageTypeError, "CAI_Stalker : cannot access class member movement!");
399 else
400 stalker->movement().set_desired_position(0);
401}
402
403void CScriptGameObject::set_desired_position(const Fvector* desired_position)
404{

Callers 8

executeMethod · 0.45
initializeMethod · 0.45
finalizeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45

Calls 5

script_logMethod · 0.80
movementMethod · 0.80
objectFunction · 0.50
accessibleMethod · 0.45
cNameMethod · 0.45

Tested by

no test coverage detected