| 60 | } |
| 61 | |
| 62 | bool 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 | |
| 73 | CScriptGameObject* CScriptGameObject::best_weapon() |
| 74 | { |
nothing calls this directly
no test coverage detected