Quote:
Originally posted by Falcor
if (playerenters && !hasweapon(weapon-to-take)){
toweapons weapon-to-take;
if (isweapon)destroy;
}
otherwise it wil never add.
|
No, it needs to NOT have the !. Otherwise, every time you enter the level, it will add and that would be bad. MY way has it so that it only adds if you HAVE that weapon in the first place. Duh.
--Disclaimer--
Don't mess with my NPCs. I usually know what I'm doing. Unless I specifically say "I didn't use the editor to make this," assume it's correctly done and shut up.
--/end Disclaimer--