BIS fnc sceneSetPosFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *S([a-z])" to "$1 - s$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *T([a-z])" to "$1 - t$2")
Line 25: Line 25:
|p2= [[Object]] - scene initiator
|p2= [[Object]] - scene initiator


|p3= [[Object]] - Talking partner of scene initiator
|p3= [[Object]] - talking partner of scene initiator


|p4= [[String]] - Formation in which to place units. Possible values: "LINE", "CIRCLE", "HALFCIRCLE
|p4= [[String]] - Formation in which to place units. Possible values: "LINE", "CIRCLE", "HALFCIRCLE

Revision as of 14:45, 8 November 2023

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:
spawn
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 - (Optional, default 0) - determines angle offset
Return Value:
Nothing

Examples

Example 1:
[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