{"name":"BIS_fnc_sceneSetPosFormation","operator":null,"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","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"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","since":null,"effect":null,"exec":null,"params":[{"name":"Array","type":null,"optional":false,"default":null,"description":"array of units involved","types":["Array"],"since":null,"text":"Array - array of units involved"},{"name":"Object","type":null,"optional":false,"default":null,"description":"scene initiator","types":["Object"],"since":null,"text":"Object - scene initiator"},{"name":"Object","type":null,"optional":false,"default":null,"description":"talking partner of scene initiator","types":["Object"],"since":null,"text":"Object - talking partner of scene initiator"},{"name":"String","type":null,"optional":false,"default":null,"description":"formation in which to place units. Possible values: \"LINE\", \"CIRCLE\", \"HALFCIRCLE","types":["String"],"since":null,"text":"String - formation in which to place units. Possible values: \"LINE\", \"CIRCLE\", \"HALFCIRCLE"},{"name":"Number","type":null,"optional":false,"default":null,"description":"true / false in format Number (0 = false, 1 = true), determines debug mode (showing markers).","types":["Number"],"since":null,"text":"Number - true / false in format Number (0 = false, 1 = true), determines debug mode (showing markers)."},{"name":"Number","type":null,"optional":true,"default":"0","description":"determines angle offset","types":["Number"],"since":null,"text":"Number - (Optional, default 0) - determines angle offset"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[units group player, bluforCommander, player, \"HALFCIRCLE\", 0] spawn BIS_fnc_sceneSetPosFormation;\n```","code":["[units group player, bluforCommander, player, \"HALFCIRCLE\", 0] spawn BIS_fnc_sceneSetPosFormation;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Scenes","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}