BIS fnc sceneSetPosFormation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 35: | Line 35: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[units | |x1= <code>[units group [[player]], bluforCommander, [[player]], "HALFCIRCLE", 0] [[spawn]] [[BIS_fnc_sceneSetPosFormation]];</code> | ||
|seealso= | |seealso= | ||
}} | }} |
Revision as of 16:56, 13 July 2022
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