BIS fnc diagPreviewCycle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 8: | Line 8: | ||
|descr= Previews selected class from the list. When '''cheat1''' is activated, classnames will be shown instead of display names. | |descr= Previews selected class from the list. When '''cheat1''' is activated, classnames will be shown instead of display names. | ||
|s1=[container, position, vector, display] call [[BIS_fnc_diagPreviewCycle]] | |s1= [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: |
Revision as of 23:11, 12 July 2022
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:
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