7 lines
		
	
	
		
			398 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			398 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
 | 
						|
---@param unit string 
 | 
						|
---@return number distanceSquared 
 | 
						|
---@return boolean checkedDistance 
 | 
						|
---Returns the squared distance to a unit in the player's group. The distance returned appears to work from anywhere (even across continents and instance boundaries, although the answer is of dubious value).
 | 
						|
function UnitDistanceSquared(unit) end |