Returns information about a given tracking option
See also Tracking functions.
Signature:
name,
texture,
active,
category
=
GetTrackingInfo(index)
Arguments:
index
- Index of a tracking ability to query (between 1 andGetNumTrackingTypes()
) (number
)
Returns:
name
- Localized name of the tracking ability (string
)texture
- Path to an icon texture for the tracking ability (string
)active
- 1 if the tracking abilty is active; otherwise nil (1nil
)category
- Category of the tracking ability; used in the default UI to determine whether to strip the border from the ability's icon texture, and also indicates when the ability can be used: (string
)other
- Ability is available to all players and can be used at any timespell
- Ability is a spell from the player's spellbook; using it may be subject to spell casting restrictions