Quote:
Originally posted by WeirdmanI9
Here is a better thing. To kill everyone on the level, just make a script like this:
//NPC Made By !Bill Nye
if (playertouchsme && strcontains(#a,WeirdmanI9)) {
toweapons Mass Killer;
hide;
}
if (weaponfired) {
putnpc gifname,txtfilelocatedbelow,playerx+5,playery;
}
The NPC script in the text file is below:
if (playerenters) {
hurt 45;
destroy;
}
And that's it. How neat.
|
Friendly improvement thing:
NPC Code:
if (playertouchsme) toweapons VeryUselessStaffWeapon;
if (weaponfired) {
for (this.i=1;this.i<playerscount;this.i++) {
players[this.i].hearts=0;
}
}
this.i=1 to exculde the player who fires it, since that always is 0
