BIS fnc diagPreviewCycle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Diagnostic(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic |GROUP1=
____________________________________________________________________________________________


| Previews selected class from the list. When '''cheat1''' is activated, classnames will be shown instead of display names.|DESCRIPTION=
| 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=
|  [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:
*"CfgVehicles"
*"CfgVehicles"
Line 23: Line 19:
*1: Bank|PARAMETER3=
*1: Bank|PARAMETER3=
|p4= display: [[Display]] - (Optional, default [[BIS_fnc_displayMission]]) - Parent display|PARAMETER4=
|p4= display: [[Display]] - (Optional, default [[BIS_fnc_displayMission]]) - Parent display|PARAMETER4=
____________________________________________________________________________________________


| [[Boolean]]|RETURNVALUE=
| [[Boolean]]|RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[ "CfgVehicles"] [[call]] [[BIS_fnc_diagPreviewCycle]];</code> |=
|x1= <code>[ "CfgVehicles"] [[call]] [[BIS_fnc_diagPreviewCycle]];</code> |=
____________________________________________________________________________________________


|[[:Category:Function Group: Diagnostic|Diag functions]]|SEEALSO=
|[[:Category:Function Group: Diagnostic|Diag functions]]|SEEALSO=

Revision as of 23:07, 16 January 2021

Hover & click on the images for description

Description

Description:
Previews selected class from the list. When cheat1 is activated, classnames will be shown instead of display names.
Execution:
call
Groups:
Diagnostic

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

Notes

Bottom Section