Returns information about a pet action
See also Pet functions, Action functions.
index- Index of a pet action button (between 1 and
name- Localized name of the action, or a token which can be used to get the localized name of a standard action (
subtext- Secondary text for the action (generally a spell rank; e.g. "Rank 8") (
texture- Path to an icon texture for the action, or a token which can be used to get the texture path of a standard action (
isToken- 1 if the returned
textureare tokens for standard actions, which should be used to look up actual values (e.g.
PET_ATTACK_TEXTURE); nil if
texturecan be displayed as-is (
isActive- 1 if the action is currently active; otherwise nil. (Indicates which state is chosen for the follow/stay and aggressive/defensive/passive switches.) (
autoCastAllowed- 1 if automatic casting is allowed for the action; otherwise nil (
autoCastEnabled- 1 if automatic casting is currently turned on for the action; otherwise nil (