{"name":"BIS_fnc_sceneSetObjects","operator":null,"title":"BIS fnc sceneSetObjects","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sceneSetObjects","revid":324235,"updated":"2022-07-01T12:00:40Z","groups":["Broken Functions","Scenes"],"status":"broken","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":null,"description":"This function sets objects positions and direction relative to the chosen object.\n\n> [!WARNING]\n> Same as its GET counterpart (at least in Arma 3), this function does not work as intended as it does not set objects' direction properly. All objects will be created with a zero azimuth.","syntaxes":[{"syntax":"[centre, objectsArray, applyOffset, stopped] call BIS_fnc_sceneSetObjects","since":null,"effect":null,"exec":null,"params":[{"name":"centre","type":"Object or String","optional":false,"default":null,"description":"object or marker name - **NOT** a Position","types":["Object","String"],"since":null,"text":"centre: Object or String - object or marker name - **NOT** a Position"},{"name":"objectsArray","type":"Array","optional":false,"default":null,"description":"see BIS_fnc_sceneGetObjects for format information","types":["Array"],"since":null,"text":"objectsArray: Array - see BIS_fnc_sceneGetObjects for format information"},{"name":"applyOffset","type":"Boolean","optional":false,"default":null,"description":"true to apply height offset","types":["Boolean"],"since":null,"text":"applyOffset: Boolean - true to apply height offset"},{"name":"stopped","type":"Anything","optional":false,"default":null,"description":"if provided and if `BIS_debugModules` is defined, units will be stopped","types":["Anything"],"since":null,"text":"stopped: Anything - if provided and if `BIS_debugModules` is defined, units will be stopped"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\n[player, _arrayOfObjects, false] call BIS_fnc_sceneSetObjects;\n```","code":["[player, _arrayOfObjects, false] call BIS_fnc_sceneSetObjects;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_sceneGetObjects","BIS_fnc_objectsGrabber","BIS_fnc_objectsMapper"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Broken Functions","Function Group: Scenes","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}