Jump to content
beako

How to determine map dimensions?

Recommended Posts

Hi All,

 

How to I obtain the map dimensions of a particular map in Arma 3.

 

worldSize returns the area bur for rectangular maps like Livonia.

 

I want to create an area that is 500m from then end of the map height and width.

 

		hint format ["drawRectangle \n worldName: %1 \n worldSize: %2",worldName, worldSize] ;
		
			(findDisplay 12 displayCtrl 51) ctrlAddEventHandler ["Draw",{
			(_this select 0) drawRectangle [
				[worldSize / 2,worldSize / 2,0],
				(worldSize / 2) - 500,
				(worldSize / 2) - 500,
				0,
				[0,0,1,1],
				"#(rgb,8,8,3)color(0,1,1,0.25)"
			];
		}];	

 

Share this post


Link to post
Share on other sites
On 9/8/2019 at 4:16 PM, beako said:

worldSize returns the area bur for rectangular maps like Livonia.

All arma maps are rectangular.

worldSize is the way to go.

Share this post


Link to post
Share on other sites
1 hour ago, Von Quest said:

I thought they all were square?

Same.

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

×