NPC Code: //#CLIENTSIDE if (playerenters) timeout=.05; if (timeout) { if ((playerx in |0,32|) && (playery in |0,64|)) { //play with the numbers i made it work for the left half of the level playersprite=int(random(0,41)); } timeout=.5; }
//#CLIENTSIDE if (playerenters) timeout=.05; if (timeout) { if ((playerx in |0,32|) && (playery in |0,64|)) { //play with the numbers i made it work for the left half of the level playersprite=int(random(0,41)); } timeout=.5; }