removeAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Remove misleading VBS info.)
m (Add index detail and Category:Command Group: Activators)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Removes all event handlers of given type that were added by [[addEventHandler]]. |DESCRIPTION=
| Removes all event handlers of given type that were added by [[addEventHandler]] '''and''' resets Event Handler index to 0. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 18:
|p1= objectName: [[Object]]
|p1= objectName: [[Object]]


|p2= handlerType: [[String]] - See [[:Category:Event Handlers|Event Handlers]]
|p2= handlerType: [[String]] - see [[:Category:Event Handlers|Event Handlers]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] [[removeAllEventHandlers]] "killed";</code> |EXAMPLE1=
|x1= <code>[[player]] [[removeAllEventHandlers]] "Killed";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 41: Line 41:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Activators]]

Revision as of 19:30, 28 April 2020


Hover & click on the images for description

Description

Description:
Removes all event handlers of given type that were added by addEventHandler and resets Event Handler index to 0.
Groups:
Uncategorised

Syntax

Syntax:
objectName removeAllEventHandlers handlerType
Parameters:
objectName: Object
handlerType: String - see Event Handlers
Return Value:
Nothing

Examples

Example 1:
player removeAllEventHandlers "Killed";

Additional Information

See also:
EventHandlers listremoveEventHandleraddEventHandlerremoveMissionEventHandler

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