Module br.player.units

This function helps in retrieving the "best" unit for the specified range and AOE/Facing.

Units functions are stored in br.player.units and can be utilized by `local units = br.player.units` in your profile.

Functions

units.get (range) Gets the "best" unit within a specified range in front or around the player.


Functions

units.get (range)
Gets the "best" unit within a specified range in front or around the player. Call once per profile rotation and use the variable it creates in br.player.units IE: units.get(5,false) makes units.dyn5, units.get(8,true) makes units.dyn8AOE

Parameters:

  • range number - Distance in yards to look for the "best" unit
generated by LDoc 1.5.0 Last updated 2024-11-26 17:42:33