BIS fnc sceneSetObjects: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Scenes(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ ?warning" to "{{Warning") |
||
Line 12: | Line 12: | ||
| 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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 03:24, 5 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