BIS fnc diagPreviewCycle: Difference between revisions
Jump to navigation
Jump to search
m (pf) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Previews selected class from the list. When '''cheat1''' is activated, classnames will be shown instead of display names.|= | | Previews selected class from the list. When '''cheat1''' is activated, classnames will be shown instead of display names.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [container, position, vector, display] call [[BIS_fnc_diagPreviewCycle]] |= | | [container, position, vector, display] call [[BIS_fnc_diagPreviewCycle]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | |p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]]|= | | [[Boolean]]|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 29: | Line 29: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[:Category:Function Group: Diagnostic|Diag functions]]|= | |[[:Category:Function Group: Diagnostic|Diag functions]]|SEEALSO= | ||
}} | }} | ||
Revision as of 11:27, 7 April 2019
Description
- Description:
- Previews selected class from the list. When cheat1 is activated, classnames will be shown instead of display names.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [container, position, vector, display] call BIS_fnc_diagPreviewCycle
- Parameters:
- container: String - (Optional, default "CfgVehicles") - Class container. Can be:
- "CfgVehicles"
- "CfgWeapons"
- position: Position - (Optional, position player) - Position of the previewed object
- vector Array - (Optional, default [0,0]]) - Vector of previewed object in format:
- 0: Pitch
- 1: Bank
- display: Display - (Optional, default BIS_fnc_displayMission) - Parent display
- Return Value:
- Boolean
Examples
- Example 1:
[ "CfgVehicles"] call BIS_fnc_diagPreviewCycle;
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