mapAnimAdd

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.27
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.27

Description

Description:
Add next frame to map animation.

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

Multiplayer:
-
See also:
mapAnimClearmapAnimCommitmapAnimDonectrlMapAnimAddctrlMapAnimClearctrlMapAnimCommitctrlMapAnimDone

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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