removeEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add: see also)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object]] '''removeEventHandler''' ["EventName", index]|= Syntax
| objectName '''removeEventHandler''' [type, index]|= Syntax


|p1= EventName: [[String]] |= Parameter 1
|p1= objectName: [[Object]] |= Parameter 1
 
|p2= [type, index]: [[Array]] |= Parameter 2
|p2= index: [[Number]]. Value returned from [[addEventHandler]] |= Parameter 2
|p3= type: [[String]] |= Parameter 3
|p4= index: [[Number]]. Value returned from [[addEventHandler]] |= Parameter 4





Revision as of 15:49, 24 January 2009

Hover & click on the images for description

Description

Description:
Removes event handler added by addEventHandler. When any handler is removed, all handler indices higher than the deleted one should be decremented.
Groups:
Uncategorised

Syntax

Syntax:
objectName removeEventHandler [type, index]
Parameters:
objectName: Object
[type, index]: Array
type: String
index: Number. Value returned from addEventHandler
Return Value:
Nothing

Examples

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

Additional Information

See also:
removeAllEventHandlersaddEventHandler

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