Jump to content
Sign in to follow this  
tryteyker

Centering map around marker position

Recommended Posts

Hi,

I don't know why I can't get my head around this, but I'm stuck at trying to center the map around a marker. Basically, I want to create the marker and then automatically switch over to it, exactly like using <marker=''></marker> in briefing. Just that I can't let the player do it manually. I know there's a really simple way, I just forgot how to. Anybody able to help?

EDIT

lookAtPos is the command. Now I just need to find out the control name of the map.

Edited by tryteyker

Share this post


Link to post
Share on other sites
mapAnimAdd Then you dont need to mess around finding the map ctrl, plus you get some transition movement aswell if you want.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×