action coffre() { while(!player) { wait(1); } // wait till player pointer becomes valid while(me) { if(vec_dist(my.x,player.x) < 100)// Quand le jouer est près { //event } wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de