BIS fnc sceneSetPosFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\|= * " to " ")
Line 24: Line 24:
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=


|x1= <code>0 = <nowiki>[units group player, bluforCommander, player, "HALFCIRCLE",0]</nowiki> spawn BIS_fnc_sceneSetPosFormation;</code> |=
|x1= <code>0 = <nowiki>[units group player, bluforCommander, player, "HALFCIRCLE",0]</nowiki> spawn BIS_fnc_sceneSetPosFormation;</code>


| |SEEALSO=
| |SEEALSO=

Revision as of 22:41, 17 January 2021

Hover & click on the images for description

Description

Description:
Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group.
Execution:
call
Groups:
Scenes

Syntax

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 - Determines angle offset. Optional parameter, default 0.
Return Value:
Nothing

Examples

Example 1:
0 = [units group player, bluforCommander, player, "HALFCIRCLE",0] spawn BIS_fnc_sceneSetPosFormation;

Additional Information

See also:
See also needed

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

Bottom Section