removeAllMPEventHandlers: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|1.55 | |1.55 | ||
|gr1 = Multiplayer | |gr1 = Multiplayer | ||
|arg= global | |arg= global | ||
|eff= global | |eff= global | ||
| 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. | | 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. | ||
| objectName '''removeAllMPEventHandlers''' event | | objectName '''removeAllMPEventHandlers''' event | ||
|p1= objectName: [[Object]] | |p1= objectName: [[Object]] | ||
|p2= event: [[String]] | |p2= event: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code> player '''removeAllMPEventHandlers''' "mpkilled"; </code> | |x1= <code> player '''removeAllMPEventHandlers''' "mpkilled"; </code> | ||
| [[:Category:Event Handlers|EventHandlers list]], [[addMPEventHandler]], [[removeMPEventHandler]] | | [[:Category:Event Handlers|EventHandlers list]], [[addMPEventHandler]], [[removeMPEventHandler]] | ||
}} | }} | ||
Revision as of 01:26, 18 January 2021
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
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.55
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Multiplayer
- Scripting Commands: Global Effect
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 2: Operation Arrowhead: New Scripting Commands List