BIS fnc objectsMapper: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 36: | Line 36: | ||
<nowiki>[</nowiki>[[getMarkerPos]] "myBase", 0, _objectsArray, 0.5] [[call]] [[BIS_fnc_objectsMapper]];</code> | <nowiki>[</nowiki>[[getMarkerPos]] "myBase", 0, _objectsArray, 0.5] [[call]] [[BIS_fnc_objectsMapper]];</code> | ||
| [[BIS_fnc_objectsGrabber]] | |seealso= [[BIS_fnc_objectsGrabber]] | ||
}} | }} | ||
Revision as of 00:37, 17 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- position: Position - (Optional, default [0,0])
- azimuth: Number - (Optional, default 0) the template orientation
- objectsArray: Array - created with BIS_fnc_objectsGrabber
- badChance: Number - (Optional, default 0) must be in range 0..1. Chances of object non-creation for each object
- Return Value:
- Return value needed
Examples
- Example 1:
_objectsArray = [ ["B_UAV_01_F",[-5.23706,-0.183594,-0.00126648],167.39,1,0,[],"","",true,false], ["C_Offroad_01_F",[-4.25903,4.62158,0.0630951],224.14,1,0,[],"","",true,false] ]; [getMarkerPos "myBase", 0, _objectsArray, 0.5] call BIS_fnc_objectsMapper;
Additional Information
- See also:
- BIS_fnc_objectsGrabber
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