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

Method active_zone_contact

ogsr_engine/xrGame/script_game_object2.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62bool CScriptGameObject::active_zone_contact(u16 id)
63{
64 CScriptZone* script_zone = smart_cast<CScriptZone*>(&object());
65 if (!script_zone)
66 {
67 ai().script_engine().script_log(ScriptStorage::eLuaMessageTypeError, "CScriptZone : cannot access class member active_zone_contact!");
68 return (false);
69 }
70 return (script_zone->active_contact(id));
71}
72
73CScriptGameObject* CScriptGameObject::best_weapon()
74{

Callers

nothing calls this directly

Calls 3

script_logMethod · 0.80
objectFunction · 0.50
active_contactMethod · 0.45

Tested by

no test coverage detected