Arma 3 Scripting

setFormationTask

  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · original wiki page

Description

Set the current task of the formation member.

Note

This command is not available in Arma 2.

Syntax

unit setFormationTask task

Parameters:

Returns: Nothing

Examples

Example 1

_unit setFormationTask "MOVE";

See also

formationTask

Community notes

Donnervogel

The argument for task can be any String value. This can effectively be used to store a property in String format an retrieve it with formationTask in FSM scripts. By using it outside of FSM scripts you're risking to get it overwritten by other running FSM scripts.