sound statue_talk = <talk.wav>;action statue{ while(me != null) { if(vec_dist(my.x,player.x) < 80) { snd_play(statue_talk,100,0); while(vec_dist(my.x,player.x) < 80) { sleep(3); } //wait until the player goes out of range } wait(1); }}
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de