ENEMY¶
enemies¶
- This fake unit retrieves a list of enemy units from the Object Manager.
Returns TABLE¶
- Returns a table indexed by GUID, containing the enemy units.
Example:¶
nearEnemy¶
- This fake unit finds the nearest enemy that is also in front of the player.
Returns guid/key¶
- Returns the nearest enemy in front of the player.
Example:¶
enemyID¶
- This fake unit finds enemies with a specific ID.
Parameters¶
NUMBER: The id of the enemy to search for.
Returns guid/key¶
- Returns the enemy with the specified ID that is closest in distance.
Example:¶
lowestEnemyInRange¶
- This fake unit finds the lowest health enemy within a specified range from a target.
Parameters¶
NUMBER: The range to compare.STRING: The unit with which to compare the range.
Returns guid/key¶
- Returns the lowest health enemy within the specified range of the unit.
Example:¶
enemyTotemID¶
- This fake unit finds enemies (totems) with a specific ID.
Parameters¶
NUMBER: The id of the enemy (totem) to search for.
Returns guid/key¶
- Returns the enemy (totem) with the specified ID.
Example:¶
enemyTotemName¶
- This fake unit finds enemies (totems) based on their name.
Parameters¶
STRING: The name of the enemy (totem) to search for.
Returns guid/key¶
- Returns the enemy (totem) with the specified name.