BIS fnc diagPreviewCycle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
| 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. | ||
| [container, position, vector, display] call [[BIS_fnc_diagPreviewCycle]] | | [container, position, vector, display] call [[BIS_fnc_diagPreviewCycle]] | ||
|p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | |p1= container: [[String]] - (Optional, default "CfgVehicles") - Class container. Can be: | ||
*"CfgVehicles" | *"CfgVehicles" | ||
*"CfgWeapons" | *"CfgWeapons" | ||
|p2= position: [[Position]] - (Optional, [[position]] [[player]]) - Position of the previewed object | |p2= position: [[Position]] - (Optional, [[position]] [[player]]) - Position of the previewed object | ||
|p3= vector [[Array]] - (Optional, default [0,0]]) - Vector of previewed object in format: | |p3= vector [[Array]] - (Optional, default [0,0]]) - Vector of previewed object in format: | ||
*0: Pitch | *0: Pitch | ||
*1: Bank | *1: Bank | ||
|p4= display: [[Display]] - (Optional, default [[BIS_fnc_displayMission]]) - Parent display | |p4= display: [[Display]] - (Optional, default [[BIS_fnc_displayMission]]) - Parent display | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[ "CfgVehicles"] [[call]] [[BIS_fnc_diagPreviewCycle]];</code> | |x1= <code>[ "CfgVehicles"] [[call]] [[BIS_fnc_diagPreviewCycle]];</code> | ||
|[[:Category:Function Group: Diagnostic|Diag functions]] | |[[:Category:Function Group: Diagnostic|Diag functions]] | ||
}} | }} | ||
Revision as of 23:02, 17 January 2021
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