removeAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#R|COMREF]]
<h2 style="color:#000066">''object '''''removeAllEventHandlers ''handlerType'''''</h2>
<h2 style="color:#000066">''object '''''removeAllEventHandlers ''handlerType'''''</h2>


'''Operand types:'''
'''Operand types:'''


object: [[Object]]
'''object:''' [[Object]]


handlerType: [[String]]
'''handlerType:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''


Removes all event handlers of given type that were added by [[addEventHandler]].
Removes all event handlers of given type that were added by [[addEventHandler]].


'''Example:'''
'''Example:'''


player '''removeAllEventHandlers''' "killed"
[[player]] '''removeAllEventHandlers''' "killed"

Revision as of 23:34, 15 April 2006

back to COMREF

object removeAllEventHandlers handlerType


Operand types:

object: Object

handlerType: String

Type of returned value:

Nothing

Description:

Removes all event handlers of given type that were added by addEventHandler.


Example:

player removeAllEventHandlers "killed"