Polski Česky English Français Русский Español
Home Site Facebook YouTube Steam Group
Your first time here? View this!

SAIL Base

» Index > Function > NearestUnitToXY

Function - NearestUnitToXY

Summary
Name
NearestUnitToXY
Parameters
  • units : list
  • x : integer
  • y : integer
Description
Returns nearest unit from list units to position (x,y), or zero if units is empty
» Index > Function > NearestUnitToXY