Quote:
|
Originally Posted by jake13jake
Thanks. It didn't before, but maybe I should test to see if it does now.
|
PHP Code:
NPC *****.png 21 38
function onCreated() {
setshape(1,64,64);
while(true) {
move(20,0,10,0);
sleep 10;
move(-20,0,10,0);
sleep 10;
}
}
function onPlayerTouchsMe() {
player.chat = "giggle";
}
NPCEND
Uhm, Loriel... I didn't move, and playertouchsme wasn't called. But what you said is exactly what I would want... an abstraction of the problem of creating a more aesthetic damage system.