addOwnedMine: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
(Added locality and multiplayer information) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.62 | |version1= 1.62 | ||
|eff= local | |||
|arg= global | |||
|gr1= Mines | |gr1= Mines | ||
|descr= Sets ownership | |descr= Sets ownership of a remotely detonatable mine to a unit. If the unit is a player, an action that allows the player to detonate the mine is added to the action menu. | ||
|mp= Multiple players can own the same mine. | |||
|s1= unit [[addOwnedMine]] mine | |s1= unit [[addOwnedMine]] mine | ||
| Line 16: | Line 21: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>player addOwnedMine _superMine;</sqf> | ||
|seealso= [[allMines]] [[createMine]] [[detectedMines]] [[mineActive]] [[getAllOwnedMines]] [[removeOwnedMine]] [[removeAllOwnedMines]] | |seealso= [[allMines]] [[createMine]] [[detectedMines]] [[mineActive]] [[getAllOwnedMines]] [[removeOwnedMine]] [[removeAllOwnedMines]] | ||
}} | }} | ||
Latest revision as of 17:39, 15 December 2025
Description
- Description:
- Sets ownership of a remotely detonatable mine to a unit. If the unit is a player, an action that allows the player to detonate the mine is added to the action menu.
- Multiplayer:
- Multiple players can own the same mine.
- Groups:
- Mines
Syntax
- Syntax:
- unit addOwnedMine mine
- Parameters:
- unit: Object
- mine: Object - the mine object
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- allMines createMine detectedMines mineActive getAllOwnedMines removeOwnedMine removeAllOwnedMines
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note