SetOnTriggerUpEventHandler
From GECK
A function added by the JIP NVSE Plugin.
Description
Sets/removes the specified UDF Script as a handler that will be invoked in the event the specified controller Trigger is released.
When invoked, the script is passed with a single argument: the released Trigger (0: Left; 1: Right).
Syntax
SetOnTriggerUpEventHandler handlerScript:ref setORremove:1/0 leftOrRight:0/1
Example
SetOnTriggerUpEventHandler OnTriggerUpUDF 1 0
Sets the OnTriggerUpUDF script as a handler to be invoked whenever L-Trigger is released.
SetOnTriggerUpEventHandler OnTriggerUpUDF 0 0
Removes the OnTriggerUpUDF script as a handler of the above.
Handler Script
A skeleton handler script for this event:
scn OnTriggerUpUDF int bIsRTrigger begin Function {bIsRTrigger} (code) end