BIS fnc ORBATSetGroupFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Strategic


|gr1 = Strategic
|descr= Set fade value of CfgORBAT group and all groups below it.


| Set fade value of CfgORBAT group and all groups below it.
|s1= [path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]]


| [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.
|p2= alpha: [[Number]] - alpha (0 = transparent, 1 = full color)
|p3= time: [[time]] - commit time in seconds


|p1= path: [[Config]] - Path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed.
|r1= [[Boolean]]
|p2= alpha: [[Number]] - Alpha (0 = transparent, 1 = full color)
|p3= time: [[time]] - Commit time in seconds


| [[Boolean]]
|x1= <sqf>[configFile >> "CfgORBAT" >> "BIS" >> "O_Brigade", 0.5, 5] call BIS_fnc_ORBATSetGroupFade;</sqf>


|x1= <code>[ [[configFile]] >> "CfgORBAT" >> "BIS" >> "O_Brigade", 0.5, 5 ] [[call]] [[BIS_fnc_ORBATSetGroupFade]];</code>
|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]]
 
| [[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">Bottom Section</h3>
[[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