
09-23-2001, 09:10 PM
|
|
Banned
|
 |
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
|
|
;[
|
what is wrong with this i replaced the actions with actions here;
but i don't know why it's not triggering,
// NPC made by Merlin
if (playerenters) {
timeout = .5;
}
if (timeout) {
getxy();
dance();
timeout = .5;
}
function getxy() {
client.x = playerx;
client.y = playery;
timeout = .5;
}
function dance() {
if (client.x > 20) {
if (client.x < 32) {
if (client.y > 7) {
if (client.y < 17) {
actions here;
}
}
}
}
} |
|
|
|