BIS fnc ORBATSetGroupFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(10 intermediate revisions by the same user not shown)
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.
|p2= alpha: [[Number]] - Alpha (0 = transparent, 1 = full color)
|p2= alpha: [[Number]] - alpha (0 = transparent, 1 = full color)
|p3= time: [[time]] - Commit time in seconds
|p3= time: [[time]] - commit time in seconds


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


|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]]
|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]]
}}
}}

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