BIS fnc diagPreview: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
||
Line 9: | Line 9: | ||
| Previews selected classes from given container. | | Previews selected classes from given container. | ||
| | |s1=[container, parentClass, distance, startPos] call [[BIS_fnc_diagPreview]] | ||
|p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | |p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | ||
*"CfgVehicles" | *"CfgVehicles" |
Revision as of 16:02, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
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