SnowSky
An alternative function in Arma 3 might be BIS_fnc_findSafePos.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Warning
This command is listed as broken on the wiki.
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).
object findCover [position, hidePosition, maxDist, minDist, visibilityPosition, ignoreObject]
Parameters:
object: Objectposition: PositionhidePosition: PositionATL - getHideFrom-like position from which the unit should hidemaxDist: NumberminDist: Number - (Optional)visibilityPosition: Position - (Optional) used to select cover that unit can see in that direction fromignoreObject: Object - (Optional) ignore this object in visibility checkReturns: Object - always objNull
unit1 findCover [ASLToATL aimPos unit2, 30];
getHideFrom · setHideBehind · isHidden
An alternative function in Arma 3 might be BIS_fnc_findSafePos.