mapAnimAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
Line 40: | Line 40: | ||
|p4= position: [[Position2D]], [[Position3D]] or [[Object]] | |p4= position: [[Position2D]], [[Position3D]] or [[Object]] | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[mapAnimAdd]] [1, 0.1, [[markerPos]] "anim1"]; | |x1= <code>[[mapAnimAdd]] [1, 0.1, [[markerPos]] "anim1"]; |
Revision as of 23:48, 7 August 2021
Description
- Description:
- Add next frame to map animation.
- Groups:
- Map
Syntax
- Syntax:
- mapAnimAdd [time, zoom, position]
- Parameters:
- [time, zoom, position]: Array
- time: Number - animation duration in seconds
- zoom: Number - range from 0.01 (max. zoom) to 1 (zoomed out)
- position: Position2D, Position3D or Object
- Return Value:
- Nothing
Examples
- Example 1:
mapAnimAdd [1, 0.1, markerPos "anim1"]; mapAnimCommit;
- Example 2:
mapAnimAdd [3, 0.01, player]; mapAnimCommit;
Additional Information
- See also:
- mapAnimClearmapAnimCommitmapAnimDonectrlMapAnimAddctrlMapAnimClearctrlMapAnimCommitctrlMapAnimDone
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.27
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Map
- Scripting Commands: Local Effect