{"name":"BIS_fnc_sceneSetObjects","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","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","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","params":[{"name":"centre","type":"Object or String","description":"object or marker name - **NOT** a Position","type_expr":"Object | String"},{"name":"objectsArray","type":"Array","description":"see BIS_fnc_sceneGetObjects for format information","type_expr":"Array"},{"name":"applyOffset","type":"Boolean","description":"true to apply height offset","type_expr":"Boolean"},{"name":"stopped","type":"Anything","description":"if provided and if `BIS_debugModules` is defined, units will be stopped","type_expr":"Anything"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["[player, _arrayOfObjects, false] call BIS_fnc_sceneSetObjects;"]}],"see_also":["BIS_fnc_sceneGetObjects","BIS_fnc_objectsGrabber","BIS_fnc_objectsMapper"]}