BIS fnc ORBATAnimate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] spawn ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Strategic
|gr1= Strategic


| Animates an ORBAT viewer.
|descr= Animates an ORBAT viewer.


|s1=[target, zoom, duration] spawn [[BIS_fnc_ORBATAnimate]]
|s1=[target, zoom, duration] spawn [[BIS_fnc_ORBATAnimate]]

Revision as of 21:38, 13 June 2021

Hover & click on the images for description

Description

Description:
Animates an ORBAT viewer.
Execution:
call
Groups:
Strategic

Syntax

Syntax:
[target, zoom, duration] spawn BIS_fnc_ORBATAnimate
Parameters:
target: Config or Array - Path to group in CfgORBAT or offset position from structure center in format [X, Y].
  • When empty, view is reset to original level where whole structure is visible
zoom: Number - Zoom in range from 0 (max. zoom) to 1 (min. zoom)
duration: Number - Commit time in seconds
Return Value:
Boolean - True when animation is applied

Examples

Example 1:
[ configFile >> "CfgORBAT" >> "BIS" >> "B_1_A_1", 0.5, 3 ] spawn BIS_fnc_ORBATAnimate;

Additional Information

See also:
ORBAT ViewerBIS_fnc_ORBATAddGroupOverlayBIS_fnc_ORBATConfigPreviewBIS_fnc_ORBATGetGroupParamsBIS_fnc_ORBATOpenBIS_fnc_ORBATRemoveGroupOverlayBIS_fnc_ORBATSetGroupFadeBIS_fnc_ORBATSetGroupParamsBIS_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