OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 21 Feb 2005, 22:47:49

Title: mapanim won't zoom....
Post by: bedges on 21 Feb 2005, 22:47:49
i have no idea why this won't work. i've set up a mapanim, thus:

Code: [Select]
ForceMap true
mapAnimClear

mapAnimAdd [0, 1, getMarkerPos "middle_map"]
mapAnimCommit
@mapAnimDone

mapAnimAdd [5, 0.3, getMarkerPos "middle_map"]
mapAnimCommit
@mapAnimDone
~2

mapAnimAdd [0, 0.08, getMarkerPos "enemy_arrow_10"]
mapAnimCommit
@mapAnimDone

etc...

now, the map appears. fine. it's pointing at the correct marker. super. however, it gets to the second instruction (the zoom) and won't budge. oh it'll wait for the 5 seconds specified alright, but no zoomage.

the more peculiar fact is that this all seems to depend on the value of zoom used. for example, a zoom of 0.6 appears to work. 0.3 does not.

anyone know why?
Title: Re:mapanim won't zoom....
Post by: The-Architect on 21 Feb 2005, 23:50:10
Dunno. Maybe its just acting odd like it does when comparing editor map to in game map. You can zoom in much more in the editor than you can in the game. Wierd.
Title: Re:mapanim won't zoom....
Post by: dmakatra on 22 Feb 2005, 00:10:43
I seem to recall that MapAnim can't handle very close shots. But don't quote me on that, it was ages since I last used MapAnim.

:beat: *Gets Shot* :beat: