Guest Posted April 13, 2018 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
stanhope 411 Posted April 13, 2018 _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 Posted April 13, 2018 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
stanhope 411 Posted April 13, 2018 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. 1 Share this post Link to post Share on other sites
POLPOX 779 Posted April 13, 2018 You don't need to look at configs, but use worldSize script command. [worldSize/2,worldSize/2] to do this. 1 Share this post Link to post Share on other sites
xeno 234 Posted April 13, 2018 1 hour ago, POLPOX said: You don't need to look at configs, but use worldSize script command. worldSize uses the config values and those are wrong for Malden https://feedback.bistudio.com/T127777 Share this post Link to post Share on other sites