Warning
This function is listed as broken on the wiki.
Description
Warning
This function is broken (at least in Arma 3) as it has a typo, displaying an error on each use! (typo line 63,
[centrum]instead of[_centrum]).
This function gets objects (but centre object) positions and direction relative to the choosen object and copies the result to the clipboard via copyToClipboard.
Result is to format:
[
// 11 elements for one object
_nameOfObject, _objectClass, _objectToGet, _computedAngle, _distance, _newDir, _vectorUp, _vectorDir, _animation, _elevASL, _elev,
_nameOfObject, _objectClass, _objectToGet, _computedAngle, _distance, _newDir, _vectorUp, _vectorDir, _animation, _elevASL, _elev,
// ...
]
Important
Please note that the clipboard result is a one-level array, meaning that all parameters are defined one after the other!
Syntax
[centre, radius, type] call BIS_fnc_sceneGetObjects
Parameters:
centre: Object or String - object or marker name - NOT a Positionradius: Number - (Optional, default 20)type: String - (Optional, default "All") - objects type (see nearestObjects)
Returns: Script Handle
Examples
Example 1
[player, 20, "Car"] call BIS_fnc_sceneGetObjects;
See also
BIS_fnc_sceneSetObjects · BIS_fnc_objectsGrabber · BIS_fnc_objectsMapper