Thread: Lantern
View Single Post
  #8  
Old 07-14-2002, 04:33 PM
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
Damn still stuck, the index of light 2, i cant get it to set lighteffect of 023 index,

NPC Code:

if (playertouchsme) {
toweapons bob;
}
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,light2.png,playerx-1,playery-1.5;
changecoloreffects 023,1,0,0,0; //Unknown Command?
drawaslight;
dontblock;
timeout=.05;
}
}



Also t does not reconise this command, what other ways can you do it:

NPC Code:

changecoloreffects 023,1,0,0,0; //Unknown Command?

__________________
--Spark911
Reply With Quote