View Single Post
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,774

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, 11:49 AM
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.
  }
}