mapAnimAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) (Add parameters description) |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 19: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[mapAnimAdd]] [time, zoom, position] |SYNTAX= | ||
|p1= [time, zoom, position]: [[Array]] |PARAMETER1= | |p1= [time, zoom, position]: [[Array]] |PARAMETER1= | ||
|p2= time: [[Number]] | | |||
|p3= zoom: [[Number]] |PARAMETER3= | |p2= time: [[Number]] - animation duration in seconds |PARAMETER2= | ||
|p4= position | |||
|p3= zoom: [[Number]] - range from 0.01 (max. zoom) to 1 (zoomed out) |PARAMETER3= | |||
|p4= position: [[Position2D]], [[Position3D]] or [[Object]] |PARAMETER4= | |||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
Line 37: | Line 35: | ||
| [[mapAnimClear]], [[mapAnimCommit]], [[mapAnimDone]], [[ctrlMapAnimAdd]], [[ctrlMapAnimClear]], [[ctrlMapAnimCommit]], [[ctrlMapAnimDone]] |SEEALSO= | | [[mapAnimClear]], [[mapAnimCommit]], [[mapAnimDone]], [[ctrlMapAnimAdd]], [[ctrlMapAnimClear]], [[ctrlMapAnimCommit]], [[ctrlMapAnimDone]] |SEEALSO= | ||
}} | }} | ||
Line 44: | Line 41: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 05:26, 2 February 2007</dd> | <dd class="notedate">Posted on 05:26, 2 February 2007</dd> | ||
<dt class="note"> | <dt class="note">[[User:Ceeeb|Ceeeb]] | ||
<dd class="note"> | <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)'' | 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)'' | ||
Line 52: | Line 49: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: GUI Control|{{uc:{{PAGENAME}}}}]] |
Revision as of 00:18, 14 April 2020
Description
- Description:
- Add next frame to map animation.
- Groups:
- Uncategorised
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: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: GUI Control