Jump to content

Best way to find world space co ords.


MrFlopsy

Recommended Posts

If you're using a Debug monitor in-game. Add this to your values:

_worldspace = getPosASL player;

Like this:

 

while {custom_monitor} do 
{
	_kills = 		player getVariable["zombieKills",0];
	_killsH = 		player getVariable["humanKills",0];
	_killsB = 		player getVariable["banditKills",0];
	_humanity =		player getVariable["humanity",0];
	_headShots = 	        player getVariable["headShots",0];
        _worldspace =           getPosASL player;

	hintSilent parseText format ["
	<t size='2'font='Bitstream'align='center'>%1</t><br/>
	<t size='1'font='Bitstream'align='left'>Blood:</t><t size='1' font='Bitstream'align='right'>%2</t><br/>
	<t size='1'font='Bitstream'align='left'>Humanity:</t><t size='1'font='Bitstream'align='right'>%3</t><br/>
	<t size='1'font='Bitstream'align='left'>Murders:</t><t size='1'font='Bitstream'align='right'>%4</t><br/>
	<t size='1'font='Bitstream'align='left'>Bandits Killed:</t><t size='1'font='Bitstream'align='right'>%5</t><br/>
	<t size='1'font='Bitstream'align='left'>Zombies Killed:</t><t size='1'font='Bitstream'align='right'>%6</t><br/>
	<t size='1'font='Bitstream'align='left'>Headshots:</t><t size='1'font='Bitstream'align='right'>%7</t><br/>
<t size='1'font='Bitstream'align='left'>WorldSpace:</t><t size='1'font='Bitstream'align='right'>%8</t><br/>

",

dayz_playerName,
r_player_blood,
round _humanity,
_killsH,
_killsB,
_kills,
_headShots,
_worldspace
];
sleep 1;
};
Link to comment
Share on other sites

You have to be in-game to get the coords, whether you do it in the editor or live on your server. If you want coords from the map editor (in-game) , then put an object at the location you want, save the file and then open your mission file with a text editor, look for the item you placed and it should have the world coords attached :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...