removeEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved command to template)
m (fixed example)
Line 29: Line 29:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[[player]] removeEventHandler ["killed", 0]</pre> |= Example 1
|x1= <code>[[player]] removeEventHandler ["killed", 0]</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:40, 4 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