Unit specifier

From Riftui Wiki

Jump to: navigation, search

A unit specifier is used by API functions to identify a unit (PCs, NPCs, mobs etc.) in the game world.

Values

The unit specifier is a string, which starts with one of the following:

and may have any of the following appended to it (using "." as a delimiter):

".target", ".pet" and ".owner" can be appended several times.

Examples

Player's target:

local buff_list = Inspect.Buff.List("player.target")

Player's target's target:

local buff_list = Inspect.Buff.List("player.target.target")

15th raid member's pet's target:

local buff_list = Inspect.Buff.List("group15.pet.target")
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox