action rotating_door { while (player == null) {wait (1);} while (vec_dist (player.x, my.x) > 100) {wait (1);} // play with 100 ///snd_play (dooropens_wav, 100, 0); while (my.pan > -140) { c_rotate (me, vector(-4 * time_step, 0, 0), IGNORE_MAPS); wait (1); } }
action rotating_door { while (player == null) {wait (1);} while (vec_dist (player.x, my.x) > 100) {wait (1);} // play with 100 ///snd_play (dooropens_wav, 100, 0); while (my.pan < 140) { c_rotate (me, vector(4 * time_step, 0, 0), IGNORE_MAPS); wait (1); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de