[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "SetEventHandler"
Jump to navigation
Jump to search
m
no edit summary
imported>8asrun6aer m |
imported>8asrun6aer m |
||
Line 6: | Line 6: | ||
Registers a user-defined function as a handler for the specified event. If the function script returns a value, it will be ignored. Two optional arguments can be supplied as key::value pairs to filter events according to the target and/or object. | Registers a user-defined function as a handler for the specified event. If the function script returns a value, it will be ignored. Two optional arguments can be supplied as key::value pairs to filter events according to the target and/or object. | ||
For more details on events and for a list of available events to hook into, see [ | For more details on events and for a list of available events to hook into, see [[Event_Handler_Functions]]. | ||
== Example == | == Example == | ||
Line 50: | Line 50: | ||
* [[RemoveEventHandler]] | * [[RemoveEventHandler]] | ||
* [[GetCurrentEventName]] | * [[GetCurrentEventName]] | ||
* [[Event_Handler_Functions]] | |||
* [[User_Functions]] | * [[User_Functions]] | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (OBSE)]] | [[Category: Functions (OBSE)]] |