Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2006, 6:26:21 PM (18 years ago)
Author:
snellen
Message:

script thestranger.lua tells thestranger to move to 288,19,208, scripttrigger is in the cell where the game starts, added debug output to find out why it doesn't work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/npcs/generic_npc.cc

    r8814 r8815  
    4040#include "script_class.h"
    4141CREATE_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))
    4344                       );
    4445
     
    182183{
    183184  Quaternion q = this->getAbsDir();
     185 
     186  printf("%s moving to %f, %f, %f \n",this->getName(),x,y,z);
    184187
    185188  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.