Skip to content

strUnitInfoToID

Ben edited this page Aug 16, 2022 · 1 revision

Create a unit ID from a unitName and unitRealm

TRP3_API.utils.str.unitInfoToID(unitName, unitRealmID)

Arguments

  • unitName: The name of the target player
  • unitRealmID: [Optional] The target player's realm, defaults to current player's realm

Returns

  • unitID: A Unit ID
Clone this wiki locally