removeMPEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 20: | Line 20: | ||
| Removes MP event handler added by [[addMPEventHandler]]. | | Removes MP event handler added by [[addMPEventHandler]]. | ||
| unitName '''removeMPEventHandler''' [event, index] | |s1= unitName '''removeMPEventHandler''' [event, index] | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] |
Revision as of 23:20, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- MultiplayerEvent Handlers
Syntax
- Syntax:
- unitName removeMPEventHandler [event, index]
- Parameters:
- unitName: Object
- event: String
- index: Number - index returned by addMPEventHandler
- Return Value:
- Nothing
Examples
- Example 1:
player removeMPEventHandler ["MPKilled", 0];
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
- Posted on 25 July, 2011
- kju
- At least for MPKilled it needs to be executed where the target unit is local. The effect (the removal) is global.