Mines
10 scripting commands. Also as Markdown for agents.
- addOwnedMineSets 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…
- allMinesReturns an array of all mines in the mission
- createMineCreates a mine of the given type.
- detectedMinesReturns an array of all mines detected by a given side
- getAllOwnedMinesGets all mine objects this unit has ownership over.
- mineActiveChecks if the given mine is active.
- mineDetectedByReturns true if mine has been detected by a given side
- removeAllOwnedMinesRemoves ownership of all owned mines/explosive devices of the given unit
- removeOwnedMineRemoves ownership over a remotely detonatable mine from the unit.
- revealMineSets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.)