Changeset 10564 in orxonox.OLD for branches/scriptimprovements/src/world_entities
- Timestamp:
- Feb 3, 2007, 11:55:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scriptimprovements/src/world_entities/script_trigger.cc
r10381 r10564 213 213 //testScriptingFramework(); 214 214 if(!(script->selectFunction(this->functionName,returnCount)) ) 215 { 215 216 PRINT(1)("ERROR SCRTIPTTRIGGER : Selection of %s in %s failed.\n",functionName.c_str(), script->getFileName().c_str()); 216 217 script->pushParam( timestep, this->functionName); 217 return; 218 } 219 220 if (! (script->pushParam( timestep, this->functionName)) ) 221 return; 218 222 219 223 if( !(script->executeFunction()) ) 224 { 220 225 PRINT(1)("ERROR SCRTIPTTRIGGER : Execution of %s in %s failed.\n",functionName.c_str(), script->getFileName().c_str()); 221 226 return; 227 } 222 228 scriptFinished = script->getReturnedBool(); 223 229 }
Note: See TracChangeset
for help on using the changeset viewer.