BIS fnc ORBATSetGroupFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Strategic


|1.00|= Game version
|descr= Set fade value of CfgORBAT group and all groups below it.
____________________________________________________________________________________________


| <pre>/*
|s1= [path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]]


Description:
|p1= path: [[Config]] - path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed.
Set fade value of CfgORBAT group and all groups below it.
|p2= alpha: [[Number]] - alpha (0 = transparent, 1 = full color)
|p3= time: [[time]] - commit time in seconds


Parameter(s):
|r1= [[Boolean]]
0: CONFIG - path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed.
1: NUMBER - alpha (0 = transparent, 1 = full color)
2: NUMBER - commit time in seconds


Returns:
|x1= <sqf>[configFile >> "CfgORBAT" >> "BIS" >> "O_Brigade", 0.5, 5] call BIS_fnc_ORBATSetGroupFade;</sqf>
BOOL
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_ORBATSetGroupFade]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[ORBAT Viewer]] [[BIS_fnc_ORBATAddGroupOverlay]] [[BIS_fnc_ORBATAnimate]] [[BIS_fnc_ORBATConfigPreview]] [[BIS_fnc_ORBATGetGroupParams]] [[BIS_fnc_ORBATOpen]] [[BIS_fnc_ORBATRemoveGroupOverlay]] [[BIS_fnc_ORBATSetGroupParams]] [[BIS_fnc_ORBATTooltip]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Strategic|{{uc:ORBATSetGroupFade}}]]
[[Category:Functions|{{uc:ORBATSetGroupFade}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ORBATSetGroupFade}}]]

Latest revision as of 17:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Set fade value of CfgORBAT group and all groups below it.
Execution:
call
Groups:
Strategic

Syntax

Syntax:
[path, alpha, time] call BIS_fnc_ORBATSetGroupFade
Parameters:
path: Config - path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed.
alpha: Number - alpha (0 = transparent, 1 = full color)
time: time - commit time in seconds
Return Value:
Boolean

Examples

Example 1:
[configFile >> "CfgORBAT" >> "BIS" >> "O_Brigade", 0.5, 5] call BIS_fnc_ORBATSetGroupFade;

Additional Information

See also:
ORBAT Viewer BIS_fnc_ORBATAddGroupOverlay BIS_fnc_ORBATAnimate BIS_fnc_ORBATConfigPreview BIS_fnc_ORBATGetGroupParams BIS_fnc_ORBATOpen BIS_fnc_ORBATRemoveGroupOverlay BIS_fnc_ORBATSetGroupParams BIS_fnc_ORBATTooltip

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