BIS_fnc_objectsGrabber
Jump to navigation
Jump to search
Description
- Description:
- Converts a set of placed objects to an object array (as a String) for the DynO mapper.
Format is the following. First, the header:Then, data:/* Grab data: Mission: TheMissionName World: Stratis Anchor position: [3781.59, 3289.67] Area size: 50 Using orientation of objects: yes/no */or, if object orientation is not used: - Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [position, size, objectOrientation] call BIS_fnc_objectsGrabber
- Parameters:
- position: Position - (Optional, default [0,0]) 2D or 3D position, center of the "grabbing" area
- size: Number - (Optional, default 50) size (radius) of the "grabbing" area
- objectOrientation: Boolean - (Optional, default false) capture object orientation or not. Format BIS_fnc_getPitchBank
- Return Value:
- String - arrays are in format [classname, relPos, azimuth, fuel, damage, pitchBankResult, vehicleVarName, initCommands, simulationEnabled, isASL]:
Examples
- Example 1:
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