WoW:API PlaceAction: Difference between revisions
Jump to navigation
Jump to search
PlaceAction - Documentation by Flickering
mNo edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
: If the cursor is empty, nothing happens, otherwise the action from the cursor is placed in the slot. If the slot was empty then the cursor becomes empty, otherwise the action from the slot is picked up and placed onto the cursor. | : If the cursor is empty, nothing happens, otherwise the action from the cursor is placed in the slot. If the slot was empty then the cursor becomes empty, otherwise the action from the slot is picked up and placed onto the cursor. | ||
== Tip == | |||
: The game will "crash" to the login-screen and report a connection-loss if actionSlot is '''not''' 1-120. To clear the action on the cursor use [[API_PutItemInBackpack]]. This does nothing else, because (if) the "Item" held bye the cursor is no item. Any item picked from an action button seems to be no actual item. (WoW 1.6.1) | |||
---- | ---- | ||
__NOTOC__ | __NOTOC__ |
Revision as of 10:43, 14 August 2005
Place the drag-and-drop item as an action.
PlaceAction(actionSlot)
Parameters
Arguments
- (actionSlot)
- actionSlot
- Numeric - The action slot to place the action into.
Returns
- nil
Details
- If the cursor is empty, nothing happens, otherwise the action from the cursor is placed in the slot. If the slot was empty then the cursor becomes empty, otherwise the action from the slot is picked up and placed onto the cursor.
Tip
- The game will "crash" to the login-screen and report a connection-loss if actionSlot is not 1-120. To clear the action on the cursor use API_PutItemInBackpack. This does nothing else, because (if) the "Item" held bye the cursor is no item. Any item picked from an action button seems to be no actual item. (WoW 1.6.1)