BIS fnc objectsMapper: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3") |
||
Line 25: | Line 25: | ||
|p3= objectsArray: [[Array]] - created with [[BIS_fnc_objectsGrabber]] | |p3= objectsArray: [[Array]] - created with [[BIS_fnc_objectsGrabber]] | ||
|p4= badChance: [[Number]] - (Optional, default 0) | |p4= badChance: [[Number]] - (Optional, default 0) chances of object non-creation for each object, in range 0..1 | ||
|r1= [[Array]] of [[Object]]s | |r1= [[Array]] of [[Object]]s |
Latest revision as of 12:22, 8 November 2023
Description
- Description:
- Takes an array of data about a dynamic object template and creates the objects.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [position, azimuth, objectsArray, badChance] call BIS_fnc_objectsMapper
- Parameters:
- position: Array - (Optional, default [0,0]) in format Position2D
- azimuth: Number - (Optional, default 0) the template orientation
- objectsArray: Array - created with BIS_fnc_objectsGrabber
- badChance: Number - (Optional, default 0) chances of object non-creation for each object, in range 0..1
- Return Value:
- Array of Objects
Examples
- Example 1:
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