Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10300 in orxonox.OLD for branches/improvements/src/world_entities


Ignore:
Timestamp:
Jan 22, 2007, 5:21:42 PM (18 years ago)
Author:
snellen
Message:

update

Location:
branches/improvements/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/improvements/src/world_entities/creatures/fps_player.cc

    r10288 r10300  
    358358  if( this->bJump && likely(this->getModel(0) != NULL))
    359359  {
    360     //printf("pedestrianOne:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);
    361     //this->bJump = false;
     360    printf("dummyVariable:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);
     361    this->bJump = false;
    362362    if( this->jumpForce < 1.0f)
    363363    {
  • branches/improvements/src/world_entities/script_trigger.cc

    r10299 r10300  
    6363  addToScript = false;
    6464  this->activeOnCreation = false;
     65  target = NULL;
    6566
    6667  if(root != NULL)
     
    186187  }
    187188
     189  if(target != NULL)
     190  {
    188191  if( !invert && this->distance(target) < radius)
    189192  {
     193 //  printf("Trigger position is: %f %f %f \n", this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z);
     194 //  printf("Target position is: %f %f %f \n", this->target->getAbsCoor().x, this->target->getAbsCoor().y, this->target->getAbsCoor().z);
    190195    executeAction(timestep);
    191196    scriptCalled = true;
    192197    return;
     198
    193199  }
    194200  else if( invert && this->distance(target) > radius)
     
    200206 //else
    201207   //printf("SCRIPTTRIGGER: target out of range\n");
    202 
     208  }
    203209}
    204210
Note: See TracChangeset for help on using the changeset viewer.