Thread: Chest
View Single Post
  #10  
Old 10-27-2001, 05:08 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Re: Chest

Quote:
Originally posted by Brad_Elven
Whats wrong with this script?

// NPC made by Lord Helmut
if (playerenters&&!hasweapon(bomb)) {
setgifpart b_chest.png,0,0,32,32;
}
if(playertouchsme&&!hasweapon(bomb)){
<removed set hasbomb;>
toweapons Bomb;
setgifpart b_chest.png,32,0,32,32;
}
if (playerenters&&hasweapon(bomb)) {
setgifpart b_chest.png,32,0,32,32;
}

yes i know im missing the if(weaponfired) part
Underlined the changes, and for the weaponfired part, look in my system, I've got it there all ready for use with our "special" system
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a

Last edited by Xaviar; 10-27-2001 at 05:19 AM..
Reply With Quote