Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 3:37:12 PM (18 years ago)
Author:
snellen
Message:

setTarget should work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/script_trigger.h

    r8193 r8199  
    1919    virtual void executeAction();
    2020
    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; }
    2326    void setCallOnce(bool call) { this->callOnce = call;}
    2427    void setRadius(float radius) { if(radius>0) this->radius = radius;}
Note: See TracChangeset for help on using the changeset viewer.