mapAnimAdd: Difference between revisions
Lou Montana (talk | contribs) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 34: | Line 34: | ||
|p2= zoom: [[Number]] - range from 0.01 (max. zoom) to 1 (zoomed out) | |p2= zoom: [[Number]] - range from 0.01 (max. zoom) to 1 (zoomed out) | ||
|p3= position: [[Object]] or | |p3= position: [[Object]] or [[Position#Introduction|Position2D]], [[Position#Introduction|Position3D]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
mapAnimAdd [1, 0.1, markerPos "anim1"]; | |||
mapAnimCommit; | |||
</sqf> | |||
|x2= < | |x2= <sqf> | ||
mapAnimAdd [3, 0.01, player]; | |||
mapAnimCommit; | |||
</sqf> | |||
|seealso= [[mapAnimClear]] [[mapAnimCommit]] [[mapAnimDone]] [[ctrlMapAnimAdd]] [[ctrlMapAnimClear]] [[ctrlMapAnimCommit]] [[ctrlMapAnimDone]] | |seealso= [[mapAnimClear]] [[mapAnimCommit]] [[mapAnimDone]] [[ctrlMapAnimAdd]] [[ctrlMapAnimClear]] [[ctrlMapAnimCommit]] [[ctrlMapAnimDone]] | ||
Latest revision as of 08:54, 2 January 2026
Description
- Description:
- Add next frame to map animation.
- Groups:
- Map
Syntax
- Syntax:
- mapAnimAdd [time, zoom, position]
- Parameters:
- time: Number - animation duration in seconds
- zoom: Number - range from 0.01 (max. zoom) to 1 (zoomed out)
- position: Object or Position2D, Position3D
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- mapAnimClear mapAnimCommit mapAnimDone ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
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