mapAnimAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Text replacement - " \| ofp \|1.([0-9]{2}) +\|([^g])" to " | ofp |1.$1 |game2= ofpe |version2= 1.00 |game3= arma1 |version3= 1.00 |game4= arma2 |version4= 1.00 |game5= arma2oa |version5= 1.50 |game6= tkoh |version6= 1.00 |game7= arma3 |version7=...)
Line 2: Line 2:


| ofp
| ofp
|1.27
|game2= ofpe
|version2= 1.00
|game3= arma1
|version3= 1.00


|1.27
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50
 
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50


|arg= local
|arg= local

Revision as of 21:10, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Map

Syntax

Syntax:
Syntax needed
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
Posted on 05:26, 2 February 2007
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)