removeMPEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2oa | | |game1= arma2oa | ||
|version1= 1.55 | |||
| | |game2= tkoh | ||
| | |version2= 1.00 | ||
| | |game3= arma3 | ||
|version3= 0.50 | |||
| | |gr1= Multiplayer | ||
| | |gr2= Event Handlers | ||
| | |arg= global | ||
| | |eff= global | ||
| | |descr= Removes MP event handler added by [[addMPEventHandler]]. | ||
| [[ | |s1= unitName [[removeMPEventHandler]] [event, index] | ||
| | |p1= unitName: [[Object]] | ||
| [[:Category:Event Handlers|EventHandlers list]] | |p2= event: [[String]] | ||
|p3= index: [[Number]] - index returned by [[addMPEventHandler]] | |||
|r1= [[Nothing]] | |||
|x1= <sqf>player removeMPEventHandler ["MPKilled", 0];</sqf> | |||
|seealso= [[:Category:Event Handlers|EventHandlers list]] [[addMPEventHandler]] [[removeAllMPEventHandlers]] | |||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dd class="notedate">Posted on 25 July, 2011 | <dt><dt> | ||
<dt class="note">[[User:kju|kju]] | <dd class="notedate">Posted on 25 July, 2011</dd> | ||
<dt class="note">[[User:kju|kju]]</dt> | |||
<dd class="note">At least for MPKilled it needs to be executed where the target unit is local. The effect (the removal) is global. | <dd class="note">At least for MPKilled it needs to be executed where the target unit is local. The effect (the removal) is global. | ||
</dl> | </dl> | ||
Latest revision as of 17:24, 13 May 2022
Description
- Description:
- Removes MP event handler added by addMPEventHandler.
- 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:
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.
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
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Multiplayer
- Command Group: Event Handlers
- Scripting Commands: Global Effect