Description
Previews selected class from the list. When cheat1 (?) is activated, classnames will be shown instead of display names.
Syntax
[container, position, vector, display] call BIS_fnc_diagPreviewCycle
Parameters:
container: String - (Optional, default "CfgVehicles") class container. Can be:- "CfgVehicles"
- "CfgWeapons"
position: [Array]] format Position - (Optional, default[position player, 10, 0] call BIS_fnc_relPos) position of the previewed object- vector Array of Numbers - (Optional, default [0,0]]) vector of previewed object in format:
- 0: Pitch
- 1: Bank
display: Display - (Optional, default BIS_fnc_displayMission) parent display
Returns: Boolean
Examples
Example 1
["CfgVehicles"] call BIS_fnc_diagPreviewCycle;