BIS fnc sceneSetObjects: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{ ?warning" to "{{Warning") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 9: | Line 8: | ||
|gr2 = Scenes |GROUP2= | |gr2 = Scenes |GROUP2= | ||
| This function sets objects positions and direction relative to the chosen object. | | This function sets objects positions and direction relative to the chosen object. | ||
{{Warning|Same as its [[BIS_fnc_sceneGetObjects|GET]] counterpart (at least in {{arma3}}), this function doesn't work as intended as it doesn't set objects direction properly. All objects will be created with a zero azimuth.}} |DESCRIPTION= | {{Warning|Same as its [[BIS_fnc_sceneGetObjects|GET]] counterpart (at least in {{arma3}}), this function doesn't work as intended as it doesn't set objects direction properly. All objects will be created with a zero azimuth.}} |DESCRIPTION= | ||
| [centre, objectsArray, applyOffset, stopped] call [[BIS_fnc_sceneSetObjects]] |SYNTAX= | | [centre, objectsArray, applyOffset, stopped] call [[BIS_fnc_sceneSetObjects]] |SYNTAX= | ||
Line 26: | Line 23: | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[player, ''_arrayOfObjects'', false] [[call]] [[BIS_fnc_sceneSetObjects]];</code> |EXAMPLE1= | |x1= <code>[player, ''_arrayOfObjects'', false] [[call]] [[BIS_fnc_sceneSetObjects]];</code> |EXAMPLE1= | ||
| [[BIS_fnc_sceneGetObjects]], [[BIS_fnc_objectsGrabber]], [[BIS_fnc_objectsMapper]] |SEEALSO= | | [[BIS_fnc_sceneGetObjects]], [[BIS_fnc_objectsGrabber]], [[BIS_fnc_objectsMapper]] |SEEALSO= |
Revision as of 23:54, 16 January 2021
Description
- Description:
- This function sets objects positions and direction relative to the chosen object.
- Execution:
- call
- Groups:
- Broken FunctionsScenes
Syntax
- Syntax:
- [centre, objectsArray, applyOffset, stopped] call BIS_fnc_sceneSetObjects
- Parameters:
- centre: Object or String - object or marker name - NOT a Position
- objectsArray: Array - See BIS_fnc_sceneGetObjects for format information
- applyOffset: Boolean - true to apply height offset
- stopped: Anything - if provided and if BIS_debugModules is defined, units will be stopped
- Return Value:
- Boolean
Examples
- Example 1:
[player, _arrayOfObjects, false] call BIS_fnc_sceneSetObjects;
Additional Information
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