View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old May 31st, 2017, 04:35 AM
Quote:
Originally Posted by draco963 View Post
May I divert the thread to ask how to get theses scripts (and several other effects) to apply only if the weapon is actually equipped, as opposed to only in inventory?
Certainly. You can use a simple doneif statement at the top of your script, like this:

Code:
doneif (field[gIsEquip].value = 0)
This statement will prevent everything below it from executing if TRUE.
Sendric is offline   #7 Reply With Quote