Thread: hat script
View Single Post
  #19  
Old 08-25-2001, 01:57 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Could someone tell me the point of all that scripting?

here you go:

NPC Code:

if (playerchats && strequals(#c,knighthelmet)) {
set haton;
setplayerprop #P1,hat0.png;
}



oh and for the hat item:

NPC Code:

if (playerenters) {
toweapons Hat;
setimg haticon.png;
}
if (weaponfired&&!haton&&knighthelmet) {
set haton;
setplayerprop #P1,hat0.png;
setani haton,;
freezeplayer 0.6;
sleep 0.6;
}
// taking hat off
if(weaponfired&&haton){
unset haton;
setani hatoff,;
freezeplayer 0.6;
sleep 0.6;
setplayerprop #P1,;
}

__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!



Last edited by konidias; 08-25-2001 at 02:03 AM..
Reply With Quote