BIS fnc diagPreview: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2") |
||
Line 15: | Line 15: | ||
|p2= parentClass: [[String]] - (Optional, default [[typeOf]] [[player]]) - Parent class of the objects (e.g. "Car" or "Rifle") | |p2= parentClass: [[String]] - (Optional, default [[typeOf]] [[player]]) - Parent class of the objects (e.g. "Car" or "Rifle") | ||
|p3= distance: [[Number]] - (Optional, default 10) - Distance between objects | |p3= distance: [[Number]] - (Optional, default 10) - Distance between objects | ||
|p4= startPos: [[Position]] - (Optional, default [[screenToWorld]] [0.5,0.5] in [[Eden Editor]] or [[position]] [[player]]) - Start position | |p4= startPos: [[Position]] - (Optional, default [[screenToWorld]] [0.5,0.5] in [[:Category:Eden Editor]] or [[position]] [[player]]) - Start position | ||
|r1= [[Array]] - List of created classes | |r1= [[Array]] - List of created classes |
Revision as of 13:21, 9 July 2023
Description
- Description:
- Previews selected classes from given container.
- 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 Category:Eden Editor or position player) - Start position
- Return Value:
- Array - List of created classes
Examples
- Example 1:
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