Quote:
Originally posted by zallus-k
How about I tried
NPC Code:
for(this.zix=0;startswith(-,#w(selectedweapon-this.zix));this.zix++){;}
selectedweapon=selectedweapon-(this.zix+1);
And it didn't work?
|
I would say create a string array or a string list of acceptable or allowable NPCW names and check from there...just leave out the hidden weapons
