IsEventHandlerLast
From GECK
A function added by the New Vegas Script Extender version 6.2.9.
Description
Returns 1 (true) if there are no event handlers at a higher or equal priority than the specified handler at startPriority. This is for debugging priority conflicts between handlers.
If the handler could not be found at startPriority, returns 0 (false).
Only accounts for event handlers registered using SetEventHandler / SetEventHandlerAlt, or are generally managed by NVSE.
- Does NOT include the LN event handlers, such as OnCellEnter, as those handlers aren't managed by NVSE.
- Events such as SetOnHitEventHandler are not managed by NVSE.
Syntax
(isLast:bool) IsEventHandlerLast eventName:string handler:UDF startPriority:int scriptsToIgnore:scriptOrFormlist{0} pluginsToIgnore:array{Ar_Null} pluginHandlersToIgnore:array{Ar_Null}