setFormationTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Unit Control |GROUP1=
|gr1= Unit Control


| Set the current task of the formation member. {{Important|This command is not available in {{arma2}}.}} |DESCRIPTION=
| Set the current task of the formation member. {{Important|This command is not available in {{arma2}}.}}


| object '''setFormationTask''' task |SYNTAX=
| object '''setFormationTask''' task


|p1= object: [[Object]]
|p1= object: [[Object]]
Line 15: Line 15:
|p2= task: [[String]]
|p2= task: [[String]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


| [[formationTask]] |SEEALSO=
| [[formationTask]]


}}
}}

Revision as of 12:09, 18 January 2021

Hover & click on the images for description

Description

Description:
Set the current task of the formation member.
This command is not available in Arma 2.
Groups:
Unit Control

Syntax

Syntax:
object setFormationTask task
Parameters:
object: Object
task: String
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
formationTask

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on 16:57, 2 March 2007 (CET)
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.