15 lines
		
	
	
		
			340 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			340 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
---@meta
 | 
						|
 | 
						|
---@alias distIndex
 | 
						|
---| 1
 | 
						|
---| 2
 | 
						|
---| 3
 | 
						|
---| 4
 | 
						|
 | 
						|
---@param unit string
 | 
						|
---@param distIndex distIndex
 | 
						|
---@return boolean canInteract
 | 
						|
---Returns whether the player is close enough to a unit for certain types of interaction
 | 
						|
function CheckInteractDistance(unit, distIndex) end
 |