formation
- Global argument
- Arma 3 v0.50
- First in Operation Flashpoint v1.00
Command · Markdown · JSON · original wiki page
Description
Returns the current formation of a group.
Syntax
formation target
Parameters:
target: Object, Group or Team Member
Returns: String - can return:
- "COLUMN"
- "STAG COLUMN"
- "WEDGE"
- "ECH LEFT"
- "ECH RIGHT"
- "VEE"
- "LINE"
- "FILE"
- "DIAMOND"
Examples
Example 1
if (formation group player == "wedge") then { hint "this is the default formation" };