Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9020 in orxonox.OLD for branches/single_player_map/src/lib


Ignore:
Timestamp:
Jul 2, 2006, 4:42:20 PM (18 years ago)
Author:
snellen
Message:

made scripttrigger scriptable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/lib/script_engine/script.cc

    r9017 r9020  
    2424
    2525#include "class_list.h"
    26 // uncommet this when the std:string and the const bug is fixed
    2726CREATE_SCRIPTABLE_CLASS(Script, CL_SCRIPT,
    28                                addMethod("addObject", ExecutorLua2<Script,const std::string&, const std::string& >(&Script::addObject))
    29                                );
     27                    addMethod("addObject", ExecutorLua2<Script,const std::string&, const std::string& >(&Script::addObject))
     28                    //->addMethod("selectFunction", ExecutorLua2ret<Script, bool, const std::string&, int >(&Script::selectFunction))
     29                    ->addMethod("executeFunction", ExecutorLua0ret<Script,bool >(&Script::executeFunction))
     30                     );
    3031
    3132Script::Script(const TiXmlElement* root)
Note: See TracChangeset for help on using the changeset viewer.