mapAnimAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Add next frame to map animation. |= Description
| Add next frame to map animation. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''mapAnimAdd''' [time, zoom, position] |= Syntax
| '''mapAnimAdd''' [time, zoom, position] |SYNTAX=


|p1= [time, zoom, position]: [[Array]] |= Parameter 1
|p1= [time, zoom, position]: [[Array]] |PARAMETER1=
|p2= time: [[Number]] |= Parameter 3
|p2= time: [[Number]] |PARAMETER3=
|p3= zoom: [[Number]] |= Parameter 3
|p3= zoom: [[Number]] |PARAMETER3=
|p4= position: [[Array]] or [[Object]] - formats: [[Position2D]], [[Position3D]], [[Object]] |= Parameter 4
|p4= position: [[Array]] or [[Object]] - formats: [[Position2D]], [[Position3D]], [[Object]] |PARAMETER4=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[mapAnimAdd]] [1, 0.1, [[markerPos]] "anim1"];
|x1= <code>[[mapAnimAdd]] [1, 0.1, [[markerPos]] "anim1"];
[[mapAnimCommit]];</code> |= Example 1
[[mapAnimCommit]];</code> |EXAMPLE1=


|x2= <code>[[mapAnimAdd]] [3, 0.01, [[player]]];
|x2= <code>[[mapAnimAdd]] [3, 0.01, [[player]]];
[[mapAnimCommit]];</code> |= Example 2
[[mapAnimCommit]];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[mapAnimClear]], [[mapAnimCommit]], [[mapAnimDone]], [[ctrlMapAnimAdd]], [[ctrlMapAnimClear]], [[ctrlMapAnimCommit]], [[ctrlMapAnimDone]] |= See also
| [[mapAnimClear]], [[mapAnimCommit]], [[mapAnimDone]], [[ctrlMapAnimAdd]], [[ctrlMapAnimClear]], [[ctrlMapAnimCommit]], [[ctrlMapAnimDone]] |SEEALSO=


}}
}}

Revision as of 14:43, 7 April 2019


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

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)

Bottom Section