FRIENDLY¶
friends¶
- This fake unit retrieves a list of friendly units from the Object Manager.
Returns TABLE¶
- Returns a table indexed by GUID, containing the friendly units.
Example:¶
friendlyName¶
- This fake unit finds a friendly unit with a specific name.
Parameters¶
STRING: The name of the friendly unit to search for.
Returns guid/key¶
- Returns the friendly unit with the specified name.
Example:¶
friendlyID¶
- This fake unit finds a friendly unit with a specific id.
Parameters¶
NUMBER: The id of the friendly unit to search for.
Returns guid/key¶
- Returns the friendly unit with the specified id.
Example:¶
totemID¶
- This fake unit finds a friendly totem with a specific id created by the player.
Parameters¶
NUMBER: The id of the player totem to search for.
Returns guid/key¶
- Returns the friendly totem created by the player with the specified id.
Example:¶
totemName¶
- This fake unit finds a friendly totem with a specific name created by the player.
Parameters¶
STRING: The name of the totem to search for.
Returns guid/key¶
- Returns the friendly totem created by the player with the specified name.