BIS fnc ORBATSetGroupFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
m (Text replacement - " |s1=[" to " |s1= [")
Line 8: Line 8:
|descr= Set fade value of CfgORBAT group and all groups below it.
|descr= Set fade value of CfgORBAT group and all groups below it.


|s1=[path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]]
|s1= [path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]]


|p1= path: [[Config]] - Path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed.
|p1= path: [[Config]] - Path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed.

Revision as of 00:11, 13 July 2022

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