Arma 3 Scripting

Command in Unit Control

glanceAt

Also available as Markdown and JSON, or read the original wiki page.

Description

Control what the unit(s) is/are glancing at (target or Position). If target is used, it will get revealed fully.

How frequently the unit(s) is/are glancing there depends on behaviour.

Syntax

unit(s) glanceAt position

Parameters:

Returns: Nothing

Examples

Example 1

_someSoldier glanceAt _otherSoldier;

Example 2

[_someSoldier, _otherSoldier] glanceAt markerPos "markerOne";

See also

lookAt · commandWatch · doWatch