mapAnimAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(13 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
|game7= arma3 | |game7= arma3 | ||
|version7= 0.50 | |version7= 0.50 | ||
|eff= local | |eff= local | ||
Line 32: | Line 30: | ||
|s1= [[mapAnimAdd]] [time, zoom, position] | |s1= [[mapAnimAdd]] [time, zoom, position] | ||
|p1= | |p1= time: [[Number]] - animation duration in seconds | ||
|p2= | |p2= zoom: [[Number]] - range from 0.01 (max. zoom) to 1 (zoomed out) | ||
|p3= | |p3= position: [[Object]] or [[Array]] format [[Position#Introduction|Position2D]], [[Position#Introduction|Position3D]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
mapAnimAdd [1, 0.1, markerPos "anim1"]; | |||
mapAnimCommit; | |||
</sqf> | |||
|x2= < | |x2= <sqf> | ||
mapAnimAdd [3, 0.01, player]; | |||
mapAnimCommit; | |||
</sqf> | |||
|seealso= [[mapAnimClear]] | |seealso= [[mapAnimClear]] [[mapAnimCommit]] [[mapAnimDone]] [[ctrlMapAnimAdd]] [[ctrlMapAnimClear]] [[ctrlMapAnimCommit]] [[ctrlMapAnimDone]] | ||
}} | }} | ||
{{Note | |||
|user= Ceeeb | |||
|timestamp= 20070202052600 | |||
|text= 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)'' | |||
Latest revision as of 11:34, 3 September 2024
Description
- Description:
- Add next frame to map animation.
- Groups:
- Map
Syntax
- Syntax:
- mapAnimAdd [time, zoom, position]
- Parameters:
- time: Number - animation duration in seconds
- zoom: Number - range from 0.01 (max. zoom) to 1 (zoomed out)
- position: Object or Array format Position2D, Position3D
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- mapAnimClear mapAnimCommit mapAnimDone ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone
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
- Posted on Feb 02, 2007 - 05:26 (UTC)
- 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)
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.27
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Map
- Scripting Commands: Local Effect