removeAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved command to template)
Line 3: Line 3:
[[Category:Scripting Commands ArmA|REMOVEALLEVENTHANDLERS]]
[[Category:Scripting Commands ArmA|REMOVEALLEVENTHANDLERS]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''object'' removeAllEventHandlers ''handlerType'''''</h2>
| ofpr |= Game name


|1.85|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Removes all event handlers of given type that were added by [[addEventHandler]]. |= Description
____________________________________________________________________________________________


'''object:''' [[Object]]
| object '''removeAllEventHandlers''' handlerType |= Syntax


'''handlerType:''' [[String]]
|p1= object: [[Object]] |= Parameter 1


'''Type of returned value:'''
|p2= handlerType: [[String]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[[player]] removeAllEventHandlers "killed"</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Added in version '''1.85'''
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Removes all event handlers of given type that were added by [[addEventHandler]].
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
 
[[player]] '''removeAllEventHandlers''' "killed"

Revision as of 03:23, 3 August 2006


Hover & click on the images for description

Description

Description:
Removes all event handlers of given type that were added by addEventHandler.
Groups:
Uncategorised

Syntax

Syntax:
object removeAllEventHandlers handlerType
Parameters:
object: Object
handlerType: String
Return Value:
Nothing

Examples

Example 1:
[[player]] removeAllEventHandlers "killed"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section