Skip to content

strGetUnitID

Ben edited this page Aug 16, 2022 · 1 revision

Create a unit ID from targetType

TRP3_API.utils.str.getUnitID(unit)

Arguments

  • unit: A unit (target, player, mouseover, ...)

Returns

  • unitInfo: Unit's name and realm, concatenated
Clone this wiki locally