| 392 | } |
| 393 | |
| 394 | void 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 | |
| 403 | void CScriptGameObject::set_desired_position(const Fvector* desired_position) |
| 404 | { |
no test coverage detected