Crazy_Man 36 Posted January 11, 2021 I have a pre init function that randomly choose a marker and i want to focus on it rather than on the inital position of the playable unit when briefing is shown. Any ideas? Share this post Link to post Share on other sites
Larrow 2826 Posted January 13, 2021 //In your preInit function _h = [] spawn { disableSerialization; waitUntil{ getClientStateNumber >= 9 /*"BRIEFING SHOWN"*/ }; _mrkPos = getMarkerPos "SomeMarker"; _map = findDisplay 52 displayCtrl 51; //Change 0.05( zoom ) to desired level to frame marker as you wish _map ctrlMapAnimAdd[ 1, 0.05, _mrkPos ]; ctrlMapAnimCommit _map; }; 2 1 Share this post Link to post Share on other sites
Crazy_Man 36 Posted January 14, 2021 Works great thx! Share this post Link to post Share on other sites