object findCover [position, hidePosition, maxDist, minDist, visibilityPosition, ignoreObject]

Operand types

object : Object
[position, hidePosition, maxDist, minDist, visibilityPosition, ignoreObject]: Array

Type of returned value

Description

Returns the object where the object should search for cover.
The minDist, visibilityPosition and ignoreObject parameters are optional.
visibilityPosition is used to select cover that can see a certain position.
ignoreObject is an object that is ignored in visibility check.

Used In

ArmA

Example

There are no examples for this command
Search OFPEC COMREF