| 44 | } |
| 45 | |
| 46 | bool CScriptGameObject::GetNonscriptUsable() const |
| 47 | { |
| 48 | CUsableScriptObject* l_tpUseableScriptObject = smart_cast<CUsableScriptObject*>(&object()); |
| 49 | if (!l_tpUseableScriptObject) |
| 50 | { |
| 51 | ai().script_engine().script_log(ScriptStorage::eLuaMessageTypeError, "SetNonscriptUsable . Reason: the object is not usable"); |
| 52 | return false; |
| 53 | } |
| 54 | else |
| 55 | return l_tpUseableScriptObject->nonscript_usable(); |
| 56 | } |
| 57 | |
| 58 | Fvector CScriptGameObject::GetCurrentDirection() |
| 59 | { |
nothing calls this directly
no test coverage detected