mapAnimAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Map |GROUP1= | |gr1= Map |GROUP1= | ||
| Add next frame to map animation. |DESCRIPTION= | | Add next frame to map animation. |DESCRIPTION= | ||
| [[mapAnimAdd]] [time, zoom, position] |SYNTAX= | | [[mapAnimAdd]] [time, zoom, position] |SYNTAX= | ||
Line 27: | Line 24: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[mapAnimAdd]] [1, 0.1, [[markerPos]] "anim1"]; | |x1= <code>[[mapAnimAdd]] [1, 0.1, [[markerPos]] "anim1"]; | ||
Line 34: | Line 30: | ||
|x2= <code>[[mapAnimAdd]] [3, 0.01, [[player]]]; | |x2= <code>[[mapAnimAdd]] [3, 0.01, [[player]]]; | ||
[[mapAnimCommit]];</code> |EXAMPLE2= | [[mapAnimCommit]];</code> |EXAMPLE2= | ||
| [[mapAnimClear]], [[mapAnimCommit]], [[mapAnimDone]], [[ctrlMapAnimAdd]], [[ctrlMapAnimClear]], [[ctrlMapAnimCommit]], [[ctrlMapAnimDone]] |SEEALSO= | | [[mapAnimClear]], [[mapAnimCommit]], [[mapAnimDone]], [[ctrlMapAnimAdd]], [[ctrlMapAnimClear]], [[ctrlMapAnimCommit]], [[ctrlMapAnimDone]] |SEEALSO= |
Revision as of 01:55, 17 January 2021
Description
- Description:
- Add next frame to map animation.
- Groups:
- Map
Syntax
- Syntax:
- mapAnimAdd [time, zoom, position]
- 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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.27
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Map
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands