mapAnimAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Some wiki formatting)
Line 21: Line 21:
|game7= arma3
|game7= arma3
|version7= 0.50
|version7= 0.50
|arg= local


|eff= local
|eff= local
Line 32: Line 30:
|s1= [[mapAnimAdd]] [time, zoom, position]
|s1= [[mapAnimAdd]] [time, zoom, position]


|p1= [time, zoom, position]: [[Array]]
|p1= time: [[Number]] - animation duration in seconds


|p2= time: [[Number]] - animation duration in seconds
|p2= zoom: [[Number]] - range from 0.01 (max. zoom) to 1 (zoomed out)


|p3= zoom: [[Number]] - range from 0.01 (max. zoom) to 1 (zoomed out)
|p3= position: [[Object]] or [[Array]] format [[Position2D]], [[Position3D]]
 
|p4= position: [[Position2D]], [[Position3D]] or [[Object]]


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 51: Line 47:
}}
}}


<dl class="command_description">
{{Note
 
|user= Ceeeb
<dt></dt>
|timestamp= 20070202052600
<dd class="notedate">Posted on 05:26, 2 February 2007</dd>
|text= 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)''
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt>
}}
<dd class="note">
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)''
 
</dl>

Revision as of 19:58, 25 November 2021

Hover & click on the images for description

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 Array format Position2D, Position3D
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
Ceeeb - c
Posted on Feb 02, 2007 - 05:26 (UTC)
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)