SetOnMouseoverChangeEventHandler

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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 mouseover-ed, or highlighted selection in the specified Menu Mode, is changed.

When invoked, the script is passed with a single argument: the Menu Mode ID.

Syntax

[help]
SetOnMouseoverChangeEventHandler handlerScript:ref setORremove:1/0 menuID:int

Example

SetOnMouseoverChangeEventHandler OnMouseoverChangeUDF 1 1002

Sets the OnMouseoverChangeUDF script as a handler to be invoked when the highlighted selection in the Inventory Menu is changed.

SetOnMouseoverChangeEventHandler OnMouseoverChangeUDF 0 1002

Removes the OnMouseoverChangeUDF script as a handler of the above.

Notes

Handler Script

A skeleton handler script for this event:

scn	OnMouseoverChangeUDF

int	iMenuID

begin Function {iMenuID}

(code)

end

See Also