BIS fnc sceneSetPosFormation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Scenes | |gr1 = Scenes | ||
| Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group. | | Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group. | ||
| param spawn [[BIS_fnc_sceneSetPosFormation]]; | | param spawn [[BIS_fnc_sceneSetPosFormation]]; | ||
|p1= [[Array]] - Array of units involved. | |p1= [[Array]] - Array of units involved. | ||
|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 | ||
|p5= [[Number]] - True / false in format [[Number]] (0 = false, 1 = true), determines debug mode (showing markers). | |p5= [[Number]] - True / false in format [[Number]] (0 = false, 1 = true), determines debug mode (showing markers). | ||
|p6= ''[[Number]] - Determines angle offset. Optional parameter, '''default 0'''''. | |p6= ''[[Number]] - Determines angle offset. Optional parameter, '''default 0'''''. | ||
| [[Nothing]] | | [[Nothing]] | ||
|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> | ||
| | | | ||
}} | }} |
Revision as of 23:48, 17 January 2021
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