ctrlMapAnimAdd: 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) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
||
Line 40: | Line 40: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 17:11, 9 March 2010</dd> | <dd class="notedate">Posted on 17:11, 9 March 2010</dd> | ||
<dt class="note"> | <dt class="note">[[User:Besselinksjm|besselinksjm]] | ||
<dd class="note">Besides [[Position2D]], both [[Object]]s and [[Position3D]] work. | <dd class="note">Besides [[Position2D]], both [[Object]]s and [[Position3D]] work. | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 03:48, 27 August 2017</dd> | <dd class="notedate">Posted on 03:48, 27 August 2017</dd> | ||
<dt class="note"> | <dt class="note">[[User:Demellion|Demellion]] | ||
<dd class="note">Map control created with [[ctrlCreate]] have a weird behaviour. Control doesn't respect the aspects of Controls Group or Display itself. Results of '''ctrlMapAnimAdd''' applied to this control are also shifted for some reason. | <dd class="note">Map control created with [[ctrlCreate]] have a weird behaviour. Control doesn't respect the aspects of Controls Group or Display itself. Results of '''ctrlMapAnimAdd''' applied to this control are also shifted for some reason. | ||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 16:11, 17 May 2020
Description
- Description:
- Adds the next frame to the map animation.
- Groups:
- Uncategorised
Syntax
- Syntax:
- map ctrlMapAnimAdd [time, zoom, position]
- Parameters:
- map: Control
- [time, zoom, position]: Array
- time: Number
- zoom: Number
- position: Array or Object - formats: Position2D, Position3D, Object
- Return Value:
- Nothing
Examples
- Example 1:
_map ctrlMapAnimAdd [1, 0.1, getMarkerPos "anim1"]; ctrlMapAnimCommit _map;
- Example 2:
- Center map on player:
_ctrl ctrlMapAnimAdd [0, 0.05, player]; ctrlMapAnimCommit _ctrl;
Additional Information
- See also:
- mapAnimAddmapAnimClearmapAnimCommitmapAnimDonectrlMapAnimClearctrlMapAnimCommitctrlMapAnimDone
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 17:11, 9 March 2010
- besselinksjm
- Besides Position2D, both Objects and Position3D work.
- Posted on 03:48, 27 August 2017
- Demellion
- Map control created with ctrlCreate have a weird behaviour. Control doesn't respect the aspects of Controls Group or Display itself. Results of ctrlMapAnimAdd applied to this control are also shifted for some reason.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters