BIS fnc diagPreviewCycle: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | |||
*"CfgVehicles" | |||
*"CfgWeapons"|= Parameter 1 | |||
|p2= position: [[Position]] - (Optional, [[position]] [[player]]) - Position of the previewed object|= Parameter 2 | |||
|p3= vector [[Array]] - (Optional, default [0,0]]) - Vector of previewed object in format: | |||
*0: Pitch | |||
* | *1: Bank|= Parameter 3 | ||
|p4= display: [[Display]] - (Optional, default [[BIS_fnc_displayMission]]) - Parent display|= Parameter 4 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Boolean]]|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[ "CfgVehicles"] [[call]] [[BIS_fnc_diagPreviewCycle]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | |[[:Category:Function Group: Diagnostic|Diag functions]]|= See also | ||
}} | }} | ||
Revision as of 10:16, 3 June 2018
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