BIS fnc diagPreview: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00|= Game version | |1.00|= Game version |
Revision as of 08:23, 30 August 2019
Description
- Description:
- Previews selected classes from given container.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [container, parentClass, distance, startPos] call BIS_fnc_diagPreview
- Parameters:
- container: String - (Optional, default "CfgVehicles") - Class container. Can be:
- "CfgVehicles"
- "CfgWeapons"
- parentClass: String - (Optional, default typeOf player) - Parent class of the objects (e.g. "Car" or "Rifle")
- distance: Number - (Optional, default 10) - Distance between objects
- startPos: Position - (Optional, default screenToWorld [0.5,0.5] in Eden Editor or position player) - Start position
- Return Value:
- Array - List of created classes
Examples
- Example 1:
[ "CfgVehicles", "Car", 15, [0,0,0] ] call BIS_fnc_diagPreview;
Additional Information
- See also:
- Diag functions
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