removeMPEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|version1= 1.55 | |||
|1. | |game2= tkoh | ||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|gr1= Multiplayer | |gr1= Multiplayer | ||
Line 13: | Line 18: | ||
|eff= global | |eff= global | ||
| Removes MP event handler added by [[addMPEventHandler]]. | |descr= Removes MP event handler added by [[addMPEventHandler]]. | ||
| unitName | |s1= unitName [[removeMPEventHandler]] [event, index] | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] | ||
Line 23: | Line 28: | ||
|p3= index: [[Number]] - index returned by [[addMPEventHandler]] | |p3= index: [[Number]] - index returned by [[addMPEventHandler]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>player removeMPEventHandler ["MPKilled", 0];</sqf> | ||
|seealso= [[:Category:Event Handlers|EventHandlers list]] | |seealso= [[:Category:Event Handlers|EventHandlers list]] [[addMPEventHandler]] [[removeAllMPEventHandlers]] | ||
}} | }} | ||
{{Note | |||
|user= .kju | |||
|timestamp= 20110725194100 | |||
|text= At least for MPKilled it needs to be executed where the target unit is local. The effect (the removal) is global. | |||
}} | |||
Latest revision as of 20:34, 3 May 2024
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 Jul 25, 2011 - 19:41 (UTC)
- 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