API UnregisterEvent: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
split
 
No edit summary
 
Line 1: Line 1:
=== UnregisterEvent ===
=== UnregisterEvent ===
'''Definition:'''
'''Definition:'''
UnregisterEvent({func OnEvent}, string eventtype) -> nil
UnregisterEvent(object, string eventtype) -> nil
<br>
<br>
'''Description:'''<br>
'''Description:'''<br>
Unregister an event registered with [[Function_Index#RegisterEvent]]
Unregister an object registered with [[API_RegisterEvent|RegisterEvent]]
<br>
<br>
'''Arguments:'''<br>
'''Arguments:'''<br>
'''OnEvent''' function to run when event is triggered<br>
''eventhandler'' object to unregister<br>
''eventtype'' [[eventtype]]
''eventtype'' [[eventtype]]
<br>
<br>

Latest revision as of 05:57, 17 February 2009

UnregisterEvent

Definition: UnregisterEvent(object, string eventtype) -> nil
Description:
Unregister an object registered with RegisterEvent
Arguments:
eventhandler object to unregister
eventtype eventtype