Changeset 8815 in orxonox.OLD for branches/single_player_map/src/world_entities
- Timestamp:
- Jun 26, 2006, 6:26:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8814 r8815 40 40 #include "script_class.h" 41 41 CREATE_SCRIPTABLE_CLASS(GenericNPC, CL_GENERIC_NPC, 42 addMethod("walkTo", ExecutorLua7ret<GenericNPC,float, float, float, float, float, float, float, float>(&GenericNPC::walkTo)) 42 //addMethod("walkTo", ExecutorLua7ret<GenericNPC,float, float, float, float, float, float, float, float>(&GenericNPC::walkTo)) 43 addMethod("walkTo", ExecutorLua3ret<GenericNPC,float,float,float,float>(&GenericNPC::walkTo)) 43 44 ); 44 45 … … 182 183 { 183 184 Quaternion q = this->getAbsDir(); 185 186 printf("%s moving to %f, %f, %f \n",this->getName(),x,y,z); 184 187 185 188 return this->walkTo(x, y, z, q.w, q.v.x, q.v.y, q.v.z);
Note: See TracChangeset
for help on using the changeset viewer.