View Single Post
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,812

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

May 2, 2013, 12:49 PM
cooba is offline
Reply With Quote
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.
  }
}