BIS fnc ORBATAnimate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 8: | Line 8: | ||
|descr= 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]] | ||
|p1= target: [[Config]] or [[Array]] - Path to group in CfgORBAT or offset position from structure center in format '''[X, Y]'''. | |p1= target: [[Config]] or [[Array]] - Path to group in CfgORBAT or offset position from structure center in format '''[X, Y]'''. |
Revision as of 23:11, 12 July 2022
Description
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:
Additional Information
- See also:
- ORBAT Viewer BIS_fnc_ORBATAddGroupOverlay BIS_fnc_ORBATConfigPreview BIS_fnc_ORBATGetGroupParams BIS_fnc_ORBATOpen BIS_fnc_ORBATRemoveGroupOverlay BIS_fnc_ORBATSetGroupFade 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