BIS fnc ORBATSetGroupFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(page filling)
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(38 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Strategic
____________________________________________________________________________________________


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


| [path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]] |= Syntax
|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.|= Parameter 1
|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) |= Parameter 2
|p2= alpha: [[Number]] - alpha (0 = transparent, 1 = full color)
|p3= time: [[time]] - Commit time in seconds|= Parameter 3
|p3= time: [[time]] - commit time in seconds


| [[Boolean]] |= Return value
|r1= [[Boolean]]
____________________________________________________________________________________________


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


| [[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]] |= 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