View Single Post
Old May 2nd, 2013, 12:49 PM   #209
cooba
JCF Veteran
 
 
Join Date: Jan 2004
Reputation: cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light
If you run this script (thanks Jerry) with This Level Is Untitled, the copter will work the way it did:
Code:
//evilmike212.j2as

void onPlayer(){
  if(p.direction == -1 &&				//If facing left,
     jjObjects[p.fly - 1].eventID == OBJECT::COPTER &&	//while hanging on a copter,
     p.yPos > 32*67 && p.yPos < 32*68 &&		//in the tube's height,
     p.xSpeed > 0){					//getting pushed to the right,
       p.xSpeed = -4;					//move to the left instead.
       p.direction = 1;					//Require the left button to be held.
  }
}
cooba is offline   Reply With Quote