removeEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example)
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|REMOVEEVENTHANDLER]]
[[Category:Scripting Commands OFP 1.96|REMOVEEVENTHANDLER]]
[[Category:Scripting Commands ArmA|REMOVEEVENTHANDLER]]
{{Command|= Comments
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 42: Line 38:
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|REMOVEEVENTHANDLER]]
[[Category:Scripting Commands OFP 1.96|REMOVEEVENTHANDLER]]
[[Category:Scripting Commands ArmA|REMOVEEVENTHANDLER]]

Revision as of 10:43, 5 August 2006

Hover & click on the images for description

Description

Description:
Removes event handler added by addEventHandler. Format of handler is [type, index]. Index is returned by addEventHandler. When any handler is removed, all handler indices higher than the deleted one should be decremented.
Groups:
Uncategorised

Syntax

Syntax:
object removeEventHandler handler
Parameters:
object: Object
handler: Array
Return Value:
Nothing

Examples

Example 1:
player removeEventHandler ["killed", 0]

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