Thread: hmmmm
View Single Post
  #4  
Old 09-26-2005, 02:40 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
NPC Code:

putexplosion2 3,4,newx2-.75,newy2-.75;
hideimg 400;
hitobjects 2,mousex,mousey;
hitobjects 2,mousex-.25,mousey-.25;
hitobjects 2,mousex+.25,mousey-.25;
hitobjects 2,mousex-.25,mousey+.25;
hideimg 300;
timeout=.05;
replaceani idle,idle;
setani idle,;
enabledefmovement;
hideimg 302;
sleep 3;
hideimg 301;
}

maybe because that portion of your script is not inside an event block?

EDIT: oh you fixed it, nvm. it seems that you're using
Quote:
NPC Code:

strequals(#w,Lightning 2)

in the portion that shoots the lightning as opposed to the "isweapon"s you used in the other portions (i'm assuming the name of this wepaon is "Lightning 2" of course it doesn't have to be). Are you sure the weapon name is correct? Are you doing this offline or online?
__________________
Reply With Quote