Instructions/Get Closest Unit

From Desynced Wiki


Get Closest Unit
     File:Instructions-Get Closest Unit.png
     Gets the closest visible unit matching a filter
Lua ID get_closest_entity
Category Unit
Icon Closest Enemy.png
Argument One: Type Input
Argument One: Name Filter
Argument One: Description Filter to check
Argument One: Data Type radar
Argument Two: Type Input
Argument Two: Name Filter
Argument Two: Description Second Filter
Argument Two: Data Type radar
Argument Three: Type Input
Argument Three: Name Filter
Argument Three: Description Third Filter
Argument Three: Data Type radar
Argument Four: Type Output
Argument Four: Name Output
Argument Four: Description Unit