WoW:API PlaceAction: Difference between revisions
Jump to navigation
Jump to search
PlaceAction - Documentation by Flickering
mNo edit summary |
m (Formatting) |
||
Line 8: | Line 8: | ||
:(actionSlot) | :(actionSlot) | ||
:;actionSlot : | :;actionSlot : Integer - The action slot to place the action into. | ||
=== Returns === | === Returns === | ||
:<i>nil</i> | :<i>nil</i> | ||
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. | ||
: IMPORTANT: You can crash your client if you send an invalid slot number. | |||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Functions|PlaceAction]] | [[Category:API Functions|PlaceAction]] | ||
[[Category:API Action Functions|PlaceAction]] | |||
[[Category:API Cursor Functions|PlaceAction]] | [[Category:API Cursor Functions|PlaceAction]] | ||
[[Category:API Drag and Drop Functions|PlaceAction]] | [[Category:API Drag and Drop Functions|PlaceAction]] |
Revision as of 02:14, 20 September 2005
Place the drag-and-drop item as an action.
PlaceAction(actionSlot)
Parameters
Arguments
- (actionSlot)
- actionSlot
- Integer - 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.
- IMPORTANT: You can crash your client if you send an invalid slot number.