Description
Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group.
Syntax
param spawn BIS_fnc_sceneSetPosFormation
Parameters:
- Array - array of units involved
- Object - scene initiator
- Object - talking partner of scene initiator
- String - formation in which to place units. Possible values: "LINE", "CIRCLE", "HALFCIRCLE
- Number - true / false in format Number (0 = false, 1 = true), determines debug mode (showing markers).
- Number - (Optional, default 0) - determines angle offset
Returns: Nothing
Examples
Example 1
[units group player, bluforCommander, player, "HALFCIRCLE", 0] spawn BIS_fnc_sceneSetPosFormation;