mapAnimAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
<h2 style="color:#000066">'''abs ''x'''''</h2>
back to [[Scripting_Reference#M|COMREF]]
 
<h2 style="color:#000066">'''mapAnimAdd ''frame'''''</h2>
 


mapAnimAdd frame
'''Operand types:'''
'''Operand types:'''


frame: [[Array]]
'''frame:''' [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''


Add next frame to map animation. Format of frame is '''''[time, zoom, position]''''', format of position is Position2D.
Add next frame to map animation.
 
Format of frame is '''''[time, zoom, position]''''', format of position is [[Position2D]].
 


'''Example:'''
'''Example:'''


'''mapAnimAdd''' [1, 0.1, getMarkerPos "anim1"]
'''mapAnimAdd''' [1, 0.1, [[getMarkerPos]] "anim1"]

Revision as of 03:33, 16 April 2006

back to COMREF

mapAnimAdd frame


Operand types:

frame: Array

Type of returned value:

Nothing

Description:

Add next frame to map animation.

Format of frame is [time, zoom, position], format of position is Position2D.


Example:

mapAnimAdd [1, 0.1, getMarkerPos "anim1"]