Arma 3 Scripting

findCover

  • Broken
  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Warning

This command is listed as broken on the wiki.

Description

Returns the object around where the unit finds cover. The minDist, visibilityPosition and ignoreObject parameters are optional.

Important

Not implemented in Arma 2 and later titles (always returns objNull).

Syntax

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

Parameters:

Returns: Object - always objNull

Examples

Example 1

unit1 findCover [ASLToATL aimPos unit2, 30];

See also

getHideFrom · setHideBehind · isHidden

Community notes