Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 27, 2006, 3:51:33 PM (19 years ago)
Author:
snellen
Message:

Implemented executor without ret and 4 parameters, added setAbsDir and setAbsCoor to GenericNPC

File:
1 edited

Legend:

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

    r8829 r8831  
    4444                        ->addMethod("setTime", ExecutorLua1<GenericNPC,float>(&GenericNPC::setTime))
    4545                        ->addMethod("turnTo", ExecutorLua4ret<GenericNPC,bool,float,float,float,float>(&GenericNPC::turnTo))
     46                        ->addMethod("setAbsCoor", ExecutorLua3<PNode,float,float,float>(&PNode::setAbsCoor))
     47                        ->addMethod("setAbsDir", ExecutorLua4<PNode,float,float,float,float>(&PNode::setAbsDir))
    4648                       );
    4749
     
    425427      delete this->currentAnim;
    426428   
    427     this->setAbsDirSoft(destDir, 0.1f);
     429    this->setAbsDir(destDir);
    428430/*
    429431    this->currentAnim = new Animation3D(this);
Note: See TracChangeset for help on using the changeset viewer.