mapAnimAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description/example)
(removed duplicate info from description)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Add next frame to map animation. Format of frame is [time, zoom, position], format of position is [[Position2D]]. |= Description
| Add next frame to map animation. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:58, 13 June 2014


Hover & click on the images for description

Description

Description:
Add next frame to map animation.
Groups:
Uncategorised

Syntax

Syntax:
mapAnimAdd [time, zoom, position]
Parameters:
[time, zoom, position]: Array
time: Number
zoom: Number
position: Array or Object - formats: Position2D, Position3D, 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

Notes

Ceeeb
In OFP v1.96, the mapAnim series of commands, together with forceMap can only be used in the intro and mission, as it is not possible to access the map from the outro. (not checked, sourced from an old copy of the OFPEC comref)

Bottom Section