{"name":"mapAnimAdd","operator":null,"title":"mapAnimAdd","type":"command","url":"https://community.bistudio.com/wiki/mapAnimAdd","revid":377554,"updated":"2026-01-02T06:54:54Z","groups":["Map"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.27"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.27"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Add next frame to map animation.","syntaxes":[{"syntax":"mapAnimAdd [time, zoom, position]","since":null,"effect":null,"exec":null,"params":[{"name":"time","type":"Number","optional":false,"default":null,"description":"animation duration in seconds","types":["Number"],"since":null,"text":"time: Number - animation duration in seconds"},{"name":"zoom","type":"Number","optional":false,"default":null,"description":"range from 0.01 (max. zoom) to 1 (zoomed out)","types":["Number"],"since":null,"text":"zoom: Number - range from 0.01 (max. zoom) to 1 (zoomed out)"},{"name":"position","type":"Object or Position2D, Position3D","optional":false,"default":null,"description":null,"types":["Object","Position2D","Position3D"],"since":null,"text":"position: Object or Position2D, Position3D"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[time, zoom, position]","types":["Array"]}}],"examples":[{"text":"```sqf\nmapAnimAdd [1, 0.1, markerPos \"anim1\"];\nmapAnimCommit;\n```","code":["mapAnimAdd [1, 0.1, markerPos \"anim1\"];\nmapAnimCommit;"]},{"text":"```sqf\nmapAnimAdd [3, 0.01, player];\nmapAnimCommit;\n```","code":["mapAnimAdd [3, 0.01, player];\nmapAnimCommit;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["mapAnimClear","mapAnimCommit","mapAnimDone","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone"],"notes":[{"user":"Ceeeb","date":"2007-02-02T05:26:00Z","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)*"}],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Map","Introduced with Operation Flashpoint version 1.27","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}