Changeset 9195 in orxonox.OLD for branches/presentation/src/world_entities/script_trigger.cc
- Timestamp:
- Jul 5, 2006, 9:29:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/script_trigger.cc
r9193 r9195 52 52 this->toList(OM_COMMON); 53 53 54 radius = 10; 54 55 returnCount = 1; 55 56 scriptFinished = false; … … 72 73 73 74 } 75 74 76 } 75 77 … … 137 139 BaseObject* targetEntity = ClassList::getObject(target, CL_WORLD_ENTITY); 138 140 139 if (targetEntity != NULL)141 if (targetEntity != NULL) 140 142 { 141 143 this->setTarget(dynamic_cast<WorldEntity*>(targetEntity)); … … 216 218 void ScriptTrigger::setScript(const std::string& file) 217 219 { 218 219 220 ScriptManager* scriptManager = State::getScriptManager(); 220 221 if (scriptManager != NULL) … … 224 225 if(script != NULL) 225 226 { 227 printf("setting script to %s\n",file.c_str()); 226 228 scriptIsOk = true; 227 229 }
Note: See TracChangeset
for help on using the changeset viewer.