removeEventHandler: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|REMOVEEVENTHANDLER]] | ||
[[Category:Scripting Commands OFP 1.97| | [[Category:Scripting Commands OFP 1.97|REMOVEEVENTHANDLER]] | ||
[[Category:Scripting Commands ArmA| | [[Category:Scripting Commands ArmA|REMOVEEVENTHANDLER]] | ||
Revision as of 15:06, 4 May 2006
object removeEventHandler handler
Operand types:
object: Object
handler: Array
Type of returned value:
Compatibility:
Added in version 1.85
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.
Example:
player removeEventHandler ["killed", 0]