BIS fnc diagPreviewCycle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Previews selected class from the list. When '''cheat1''' is activated, classnames will be shown instead of display names.|= Description


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


Parameter(s):
|  [container, position, vector, display] call [[BIS_fnc_diagPreviewCycle]] |= Syntax
_this select 0: STRING - class container. Can be: "CfgVehicles", "CfgWeapons"
____________________________________________________________________________________________
_this select 1: ARRAY - position of the previewed object
|p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be:
_this select 2: ARRAY - vector of previewed object in format [pitch,bank]
*"CfgVehicles"
_this select 3 (Optional): DISPLAY - parent display
*"CfgWeapons"|= Parameter 1
 
|p2= position: [[Position]] - (Optional, [[position]] [[player]]) - Position of the previewed object|= Parameter 2
Returns:
|p3= vector [[Array]] - (Optional, default [0,0]]) - Vector of previewed object in format:
BOOL
*0: Pitch
*/
*1: Bank|= Parameter 3
 
|p4= display: [[Display]] - (Optional, default [[BIS_fnc_displayMission]]) - Parent display|= Parameter 4
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_diagPreviewCycle]]; --> |= Syntax
| [[Boolean]]|= Return value
 
|p1= |= Parameter 1
 
| |= 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 11:16, 3 June 2018

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:
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

Notes

Bottom Section