![]() |
i need an npc that does 40 damage to everyone on the level but me the person who fires it.
|
No, you dont
|
wtf?
Quote:
|
Quote:
|
I Dont have a server, nor do I work for one, I was just wondering.
|
Suuuuure you were....
|
don't believe me?its the truth.besides, it'd be a fun thing to have around on your hard drive, killing npc's and crap and players, because its all good.
maybe its if (weaponfired) {playerhearts=playerfullhearts; if.else{hurt 40; } } i doubt thats it considering my luck with npcws. |
chris... u just dont get it.. its simple
if(weaponfired) { putnpc light2.png,die_u_son_of_a.txt,playerx+5,playery+5; } die_u_son_of_a.txt: if (created) { drawaslight; setcoloreffect 1,0,0,0.1; blockagain; drawoverplayer; } if (playertouchsme) { hurt 999; } if (playersays(bleh)){ destroy; } of course, the server needs to have that txt on FTP which means, ull never be able to use it : ) |
That ain't a good script, cause when people have touched it once. They'll not touch it again....
|
maybe you should use
setzoomeffect 100; so that they have to touch it cause they can't walk....they're all stuck then >=) Just place those things in every level.... and make sure you have boots and magic shield....else you're stuck too.. |
ummmm...........
Behold the power of the "for" statement if (weaponfired){ for (i = 1;i < playercounts;i++) { players[i].hearts = 0; } } |
Quote:
to Cloud_X: humm, im not the best scripter so screw you =P |
| All times are GMT +2. The time now is 09:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.