Changeset 9235 in orxonox.OLD for trunk/src/world_entities/script_trigger.cc
- Timestamp:
- Jul 5, 2006, 4:39:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/script_trigger.cc
r9110 r9235 29 29 ->addMethod("getAbsCoorZ", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorZ)) 30 30 //Properties 31 ->addMethod("setName", ExecutorLua1<BaseObject, const std::string&>(&BaseObject::setName)) 31 32 ->addMethod("setTarget", ExecutorLua1<ScriptTrigger, const std::string&>(&ScriptTrigger::setTarget)) 32 33 ->addMethod("setTriggerParent", ExecutorLua1<ScriptTrigger, const std::string&>(&ScriptTrigger::setTriggerParent)) … … 51 52 this->toList(OM_COMMON); 52 53 54 radius = 10; 53 55 returnCount = 1; 54 56 scriptFinished = false; … … 71 73 72 74 } 75 73 76 } 74 77 … … 215 218 void ScriptTrigger::setScript(const std::string& file) 216 219 { 217 218 220 ScriptManager* scriptManager = State::getScriptManager(); 219 221 if (scriptManager != NULL)
Note: See TracChangeset
for help on using the changeset viewer.