BIS fnc sceneSetPosFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added params, syntax, example. Execution needs adjusting to spawn if anybody can figure that out.)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group. |= Description
| Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| param spawn [[BIS_fnc_sceneSetPosFormation]]; |= Syntax
| param spawn [[BIS_fnc_sceneSetPosFormation]]; |SYNTAX=


|p1= [[Array]] - Array of units involved. |= Parameter 1
|p1= [[Array]] - Array of units involved. |PARAMETER1=
|p2= [[Object]] - Scene initiator. |=
|p2= [[Object]] - Scene initiator. |=
|p3= [[Object]] - Talking partner of scene initiator. |=
|p3= [[Object]] - Talking partner of scene initiator. |=
Line 20: Line 20:
|p6= ''[[Number]] - Determines angle offset. Optional parameter, '''default 0'''''.
|p6= ''[[Number]] - Determines angle offset. Optional parameter, '''default 0'''''.


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |SEEALSO=


}}
}}

Revision as of 14:33, 7 April 2019


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:
Uncategorised

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

Notes

Bottom Section