mapAnimAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#))?\]\] " to "") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 35: | Line 35: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<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">[[User:Ceeeb|Ceeeb]]</dt> | <dt class="note">[[User:Ceeeb|Ceeeb]]</dt> | ||
Line 41: | Line 40: | ||
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)'' | ||
</dl> | </dl> | ||
Revision as of 00:31, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- Map
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
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