BIS fnc diagPreview: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 17: | Line 17: | ||
|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 [[Eden Editor]] or [[position]] [[player]]) - Start position | ||
| [[Array]] - List of created classes | |r1=[[Array]] - List of created classes | ||
|x1= <code>[ "CfgVehicles", "Car", 15, [0,0,0] ] [[call]] [[BIS_fnc_diagPreview]];</code> | |x1= <code>[ "CfgVehicles", "Car", 15, [0,0,0] ] [[call]] [[BIS_fnc_diagPreview]];</code> |
Revision as of 20:27, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- 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