BIS fnc ORBATSetGroupFade: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
Lou Montana (talk | contribs) m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2") |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Strategic | |gr1= Strategic | ||
| Set fade value of CfgORBAT group and all groups below it. | |descr= Set fade value of CfgORBAT group and all groups below it. | ||
| [path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]] | |s1= [path, alpha, time] call [[BIS_fnc_ORBATSetGroupFade]] | ||
|p1= path: [[Config]] - | |p1= path: [[Config]] - path to group in CfgORBAT. If only this parameter is passed, visibility settings for the group are removed. | ||
|p2= alpha: [[Number]] - | |p2= alpha: [[Number]] - alpha (0 = transparent, 1 = full color) | ||
|p3= time: [[time]] - | |p3= time: [[time]] - commit time in seconds | ||
|r1= [[Boolean]] | |||
|x1= <sqf>[configFile >> "CfgORBAT" >> "BIS" >> "O_Brigade", 0.5, 5] call BIS_fnc_ORBATSetGroupFade;</sqf> | |||
|seealso= [[ORBAT Viewer]] | |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
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:
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