Arma 3 Scripting

formationDirection

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

Command · Markdown · JSON · original wiki page

Description

Return the direction in degrees of the 'unit' watching in formation.

Syntax

formationDirection unitName

Parameters:

Returns: Number

Examples

Example 1

_degrees = formationDirection _unit;

See also

setFormDir · formation · setFormation