WoW:API UseAction

Revision as of 14:12, 14 December 2004 by WoWWiki>Lewzephyr (/* API UseAction /* started info from a comment by Sarf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UseAction (#,#,#)

The first number is the action ID.

Each button on your action bar has an ID. The first button id is 1, and so on. There are 10 action bars in all, thus the highets action bar is 120.

The second number is either 1 or 0. The third number is whether the action should be executed on yourself (1 = on yourself, 0 or nil, on your target or give you the spell targeting cursor).