Thread: Lantern
View Single Post
  #1  
Old 07-13-2002, 04:07 AM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Lantern

Here what I have, door.png for a test...

NPC Code:

if (playertouchsme) {
toweapons Lamp;
}
if (weaponfired) {
if (!client.on) {
set client.on;
replaceani idle,lamp_idle;
replaceani walk,lamp_walk;
timeout=.05;
}
}

else
{
unset client.on;
replaceani idle,idle;
replaceani walk,walk;
hideimg 023;
}
if (timeout) {
if (client.on) {
showimg 023,door.png,playerx,playery;
timeout=.05;
}
}




Whats wrong, it dont show up!?
__________________
--Spark911
Reply With Quote