Difference between revisions of "RemoveEventHandler"

116 bytes removed ,  23:03, 3 January 2012
m
no edit summary
imported>8asrun6aer
(Created page with "A command for Oblivion Script Extender '''Syntax:''' (removed:bool) RemoveEventHandler eventID:string functionScript:ref filter1:pair ...")
 
imported>8asrun6aer
m
 
Line 7: Line 7:


For more details on events and for a list of available events to hook into, see [[Event_Handler_Functions]].
For more details on events and for a list of available events to hook into, see [[Event_Handler_Functions]].
== Example ==
Removes the "OnHit" event handler for your script where the object is Player:
RemoveEventHandler "OnHit", yourscript, "object"::Player


==Notes==
==Notes==
* When compiling scripts with this function, CS may generate a "expected string" error for the "filter" arguments.  Generally, this error can be ignored if the script still successfully compiles.  Be sure to run a live test of any script to ensure it runs in-game successfully.
'''none'''


==See Also==
==See Also==
Anonymous user