QueryCastSequence()

From Warcraft Wiki
Jump to navigation Jump to search
This function is implemented in FrameXML/ChatFrame.lua.

Returns information about a cast sequence's next action.

index, item, spell = QueryCastSequence("sequence")

Arguments

sequence
String - Cast sequence string (e.g. "reset=20/alt Moonfire, Starfire, Starfire, Wrath").

Returns

index
Number - Index of the next action in the cast sequence
item
String - string identifying an item if this action would use one; nil otherwise.
spell
String - spell name used.