{"name":"BIS_fnc_sceneSetPosFormation","title":"BIS fnc sceneSetPosFormation","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sceneSetPosFormation","revid":348694,"updated":"2023-11-08T14:29:24Z","groups":["Scenes"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","exec":"spawn","description":"Adjusts units into a pre-determined formation, using a few variables. Part of S.C.E.N.E.S function group.","syntaxes":[{"syntax":"param spawn BIS_fnc_sceneSetPosFormation","params":[{"name":"Array","description":"array of units involved","type_expr":"Array"},{"name":"Object","description":"scene initiator","type_expr":"Object"},{"name":"Object","description":"talking partner of scene initiator","type_expr":"Object"},{"name":"String","description":"formation in which to place units. Possible values: \"LINE\", \"CIRCLE\", \"HALFCIRCLE","type_expr":"String"},{"name":"Number","description":"true / false in format Number (0 = false, 1 = true), determines debug mode (showing markers).","type_expr":"Number"},{"name":"Number","optional":true,"default":"0","description":"determines angle offset","type_expr":"Number","text":"Number - (Optional, default 0) - determines angle offset"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[units group player, bluforCommander, player, \"HALFCIRCLE\", 0] spawn BIS_fnc_sceneSetPosFormation;"]}]}