removeAllMPEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 13: Line 12:


|eff= global |Multiplayer Effects=
|eff= global |Multiplayer Effects=
____________________________________________________________________________________________


| Removes all MP event handlers of the given type which were added by [[addMPEventHandler]]. Command needs to be executed only on one PC for MP event handler to be removed globally. |DESCRIPTION=
| Removes all MP event handlers of the given type which were added by [[addMPEventHandler]]. Command needs to be executed only on one PC for MP event handler to be removed globally. |DESCRIPTION=
____________________________________________________________________________________________


| objectName '''removeAllMPEventHandlers''' event |SYNTAX=
| objectName '''removeAllMPEventHandlers''' event |SYNTAX=
Line 25: Line 22:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code> player '''removeAllMPEventHandlers''' "mpkilled"; </code> |=  
|x1= <code> player '''removeAllMPEventHandlers''' "mpkilled"; </code> |=  
____________________________________________________________________________________________


| [[:Category:Event Handlers|EventHandlers list]], [[addMPEventHandler]], [[removeMPEventHandler]]|SEEALSO=
| [[:Category:Event Handlers|EventHandlers list]], [[addMPEventHandler]], [[removeMPEventHandler]]|SEEALSO=

Revision as of 03:21, 17 January 2021

Hover & click on the images for description

Description

Description:
Removes all MP event handlers of the given type which were added by addMPEventHandler. Command needs to be executed only on one PC for MP event handler to be removed globally.
Groups:
Multiplayer

Syntax

Syntax:
objectName removeAllMPEventHandlers event
Parameters:
objectName: Object
event: String
Return Value:
Nothing

Examples

Example 1:
player removeAllMPEventHandlers "mpkilled";

Additional Information

See also:
EventHandlers listaddMPEventHandlerremoveMPEventHandler

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