Difference between revisions of "SetEventHandler"
m
no edit summary
imported>8asrun6aer (Created page with "A command for Oblivion Script Extender '''Syntax:''' (success:bool) SetEventHandler eventID:string functionScript:ref filter1:pair fil...") |
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 [http://obse.silverlock.org/obse_command_doc.html#Events | For more details on events and for a list of available events to hook into, see [http://obse.silverlock.org/obse_command_doc.html#Events OBSE Command Documentation for events]. | ||
== Example == | == Example == |