BIS fnc ORBATAnimate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *Z([a-z ])" to "$1 - z$2") |
Lou Montana (talk | contribs) m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2") |
||
Line 17: | Line 17: | ||
|r1= [[Boolean]] - [[true]] when animation is applied | |r1= [[Boolean]] - [[true]] when animation is applied | ||
|x1= <sqf>[ configFile >> "CfgORBAT" >> "BIS" >> "B_1_A_1", 0.5, 3 ] spawn BIS_fnc_ORBATAnimate;</sqf> | |x1= <sqf>[configFile >> "CfgORBAT" >> "BIS" >> "B_1_A_1", 0.5, 3] spawn BIS_fnc_ORBATAnimate;</sqf> | ||
|seealso= [[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]] | |seealso= [[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]] | ||
}} | }} |
Latest revision as of 17:27, 8 November 2023
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