Changeset 8199 in orxonox.OLD for branches/script_engine/src/lib/script_engine/script_trigger.h
- Timestamp:
- Jun 7, 2006, 3:37:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/script_trigger.h
r8193 r8199 19 19 virtual void executeAction(); 20 20 21 void setTarget(WorldEntity* target){ if(target!=NULL) this->target=target;if(worldEntityIsParent)this->setParent(target);} 22 void setTargetName(std::string& name){this->targetName = name;} 21 22 void setTarget(const std::string& targetName); 23 24 void setTarget(WorldEntity* target) { if(target!=NULL) this->target=target;if(worldEntityIsParent)this->setParent(target); } 25 void setTargetName(std::string& name){ this->targetName = name; } 23 26 void setCallOnce(bool call) { this->callOnce = call;} 24 27 void setRadius(float radius) { if(radius>0) this->radius = radius;}
Note: See TracChangeset
for help on using the changeset viewer.