GetScriptEventDisabled

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

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

[help]
(disabled:0/1) GetScriptEventDisabled anyForm:ref eventName:string

Example

set bDisabled to GetScriptEventDisabled RoseOfSharonCassidyRef "OnHit"
set bDisabled to GetScriptEventDisabled WeapNV9mmPistol "OnEquip" 

See Also