Changeset 8172 in orxonox.OLD for branches/script_engine
- Timestamp:
 - Jun 6, 2006, 9:25:54 AM (19 years ago)
 - Location:
 - branches/script_engine/src/lib/script_engine
 - Files:
 - 
          
- 2 edited
 
- 
          script_trigger.cc (modified) (1 diff)
 - 
          script_trigger.h (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/script_engine/src/lib/script_engine/script_trigger.cc
r8171 r8172 25 25 LoadParam(root, "radius", this, ScriptTrigger, setRadius) 26 26 .describe("the fileName of the script, that should be triggered by this script trigger") 27 .defaultValues(""); 27 .defaultValues(0); 28 LoadParam(root, "delay", this, ScriptTrigger, setDelay) 29 .describe("the delay after which the funtion sould be triggered") 30 .defaultValues(0); 28 31 */ 29 32 }  - 
        
branches/script_engine/src/lib/script_engine/script_trigger.h
r8171 r8172 22 22 void setCallOnce(bool call){this->callOnce = call;} 23 23 void setRadius(float radius){if(radius>0) this->radius = radius;} 24 void setDelay(float time){if(delay>0) this->delay = delay;} 24 25 void setScript(std::string& script){this->scriptFile = script;} 25 26 void setFunction(std::string& function){this->functionName = function;} … … 31 32 bool scriptCalled; 32 33 float radius; 34 float delay; 33 35 std::string scriptFile; 34 36 std::string functionName;  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






