Thread: Lantern
View Single Post
  #3  
Old 07-13-2002, 01:51 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Re: Lantern

Quote:
Originally posted by Spark910
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!?
try 23 instead of 023?
Reply With Quote