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
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
|
|