Thread: Workarounds...
View Single Post
  #12  
Old 12-08-2001, 08:53 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
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--
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote