Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 8:51:05 PM (18 years ago)
Author:
snellen
Message:

corrected mistakes

File:
1 edited

Legend:

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

    r8211 r8212  
    2222  if(root != NULL)
    2323  {
    24   WorldEntity ::loadParams(root);
     24    WorldEntity ::loadParams(root);
    2525
    26    { LoadParam(root, "file", this, ScriptTrigger, setScript)
     26    LoadParam(root, "file", this, ScriptTrigger, setScript)
    2727        .describe("the fileName of the script, that should be triggered by this script trigger")
    2828        .defaultValues("");
     
    4646        .defaultValues("");
    4747
    48     }
    49     timer = delay;
     48
    5049  }
    5150
     
    107106     {
    108107     if(!(script->selectFunction(this->functionName,0)) )
    109        printf("Error ScriptTrigger: Selection of %s in %s failed.\n",functionName.c_str(), scriptFile.c_str());
     108       printf("Error ScriptTrigger: Selection of %s in %s failed.\n",functionName.c_str(), script->getFileName().c_str());
    110109     if( !(script->executeFunction()) )
    111        printf("Error ScriptTrigger: Execution of %s in %s failed.\n",functionName.c_str(),scriptFile.c_str());
     110       printf("Error ScriptTrigger: Execution of %s in %s failed.\n",functionName.c_str(), script->getFileName().c_str());
    112111     }
    113112}
Note: See TracChangeset for help on using the changeset viewer.