centering map view(on a local map)

Nirran

Vault Senior Citizen
Modder
any function to do that?trying to disable ui and center view,hopefully is a way to do it

edit : nevermind,those that care it is metarule3(108 , , ,)
Nirran
 
I care! Is there a function to centre map on player when the game chooses not to? On some of my maps - the game loads on the centre square - not where the player is.
 
i put this in OBJ_DUDE script(because megamod has the same problem with some maps)havent tested it tho,but im sure it will be fine

Code:
procedure map_enter_p_proc 
metarule3(108, tile_num(dude_obj), 0, 0);

edit : works without glitches in the den(though those arent problem maps)

Nirran
 
Chris Parks said:
I care! Is there a function to centre map on player when the game chooses not to? On some of my maps - the game loads on the centre square - not where the player is.

This happens if you place the starting hex/override_map_start_hex function too close to the edge of the map.
 
Ardent said:
Chris Parks said:
I care! Is there a function to centre map on player when the game chooses not to? On some of my maps - the game loads on the centre square - not where the player is.

This happens if you place the starting hex/override_map_start_hex function too close to the edge of the map.

good to know,thanks!

Nirran
 
Back
Top