View Single Post
P4rr0t

JCF Member

Joined: Nov 2013

Posts: 12

P4rr0t is doing well so far

Nov 14, 2013, 05:22 AM
P4rr0t is offline
Reply With Quote
Cooba, it is micky doesn't exist (already banned from jj.net)

Ask Violet CLM or Foly, read my code, pls

Quote:
Originally Posted by P4rr0t View Post
Soory double post!


angelscript doesn't work for me this entrance/exit door and more doors, can you help me?

Code:
void onPlayer() {
	if (jjEventGet(p.xPos/32, p.yPos/32) == AREA::PATH) {
		canvas.drawString(
			(215*32) - 4,
			(85*32) - 4,
			"Press UP to entrance door!",
			STRING::SMALL,
			STRING::BOUNCE,
			1
		);
		canvas.drawString(
			(8*32) - 4,
			(8*32) - 4,
			"Press UP to exit door!",
			STRING::SMALL,
			STRING::BOUNCE,
			1
		);
	}
		switch () {
			case 10:
				x = 215;    //Entrance door
				y = 85;
				break;
			case 11:
				x = 8;     //exit door
				y = 8;
				break;
			
		}
	}
}
Thanks