GetScriptEventDisabled
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns whether or not the specified script-Event Block (i.e. OnActivate, OnAdd, OnTrigger, etc.) has been disabled (by SetScriptEventDisabled) in the Script (if any) of the specified form (which may be a reference or a baseForm).
Syntax
(disabled:0/1) GetScriptEventDisabled anyForm:ref eventName:string
Example
set bDisabled to GetScriptEventDisabled RoseOfSharonCassidyRef "OnHit"
set bDisabled to GetScriptEventDisabled WeapNV9mmPistol "OnEquip"