Jump to content
Guest

Center cordinnates malden ?

Recommended Posts

Guest

Hey i need the center cordinates for a script from malden :S  but i cant finde them :( for altis ist looks like "[14653,16758,0];" but cant finde it for malden :S someone know ?

Share this post


Link to post
Share on other sites

_mapSize = [configfile >> "cfgworlds" >> "Altis","mapSize"] call bis_fnc_returnConfigEntry;
_mapHalf = _mapSize / 2;
mapCent = [_mapHalf,_mapHalf,0];

Replace Altis with malden and you've got it :)

Share this post


Link to post
Share on other sites
Guest

thanks for your help, but i need only the nubersc to fill in the script the script not accept the cod , and im not so good to change the hole script to accept the cod :S

Share this post


Link to post
Share on other sites

Well open the editor, go to malden place a unit down, press play and run this code:

_mapSize = [configfile >> "cfgworlds" >> "Malden","mapSize"] call bis_fnc_returnConfigEntry;
_mapHalf = _mapSize / 2;
hint str _mapHalf;

 

And with all due respect, go watch some tutorials on youtube about SQF.

  • Like 1

Share this post


Link to post
Share on other sites

You don't need to look at configs, but use worldSize script command.

[worldSize/2,worldSize/2]

to do this.

  • Like 1

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

×