
10-16-2001, 07:39 AM
|
|
bryan986
|
 |
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
|
|
Quote:
Originally posted by greeno
heres my whole npc so far... tell me if im wrong in doing this so far...
// NPC made by Stipo, Thief of -Thieves-
if (created) {
setimg yellowspellbook.gif;
}
if (runicbought) {
toweapons Runic;
}
if (weaponfired && peltwithbush){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && peltwithvase){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && peltwithstone){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && peltwithsign){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && peltwithnpc){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && peltwithblackstone){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && playershot){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
if (weaponfired && playerexploded){
setani runic.gani,;
freezeplayer 1;
playerhearts++;
}
|
*cries*
use || which means 'or' instead of all those commands!!!!!!!! |
|
|
|