BIS fnc objectsMapper: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 36: Line 36:
|p4= badChance: [[Number]] - (Optional, default 0) must be in range 0..1. Chances of object non-creation for each object
|p4= badChance: [[Number]] - (Optional, default 0) must be in range 0..1. Chances of object non-creation for each object


| [[Array]] of [[Object|Objects]]
|r1=[[Array]] of [[Object|Objects]]


|x1= <code>_objectsArray = [
|x1= <code>_objectsArray = [

Revision as of 21:25, 10 June 2021

Hover & click on the images for description

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:
Array of Objects

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