| 86 | } |
| 87 | |
| 88 | void CScriptGameObject::set_item(MonsterSpace::EObjectAction object_action) |
| 89 | { |
| 90 | CObjectHandler* object_handler = smart_cast<CAI_Stalker*>(&object()); |
| 91 | if (!object_handler) |
| 92 | ai().script_engine().script_log(ScriptStorage::eLuaMessageTypeError, "CObjectHandler : cannot access class member set_item!"); |
| 93 | else |
| 94 | object_handler->set_goal(object_action); |
| 95 | } |
| 96 | |
| 97 | void CScriptGameObject::set_item(MonsterSpace::EObjectAction object_action, CScriptGameObject* lua_game_object) |
| 98 | { |
nothing calls this directly
no test coverage detected