Navigation menu

WoW:API PlaceAction: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API PlaceAction to WoW:API PlaceAction without leaving a redirect
mNo edit summary
 
m (Move page script moved page API PlaceAction to WoW:API PlaceAction without leaving a redirect)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<center>'''PlaceAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}


Place the drag-and-drop item as an action.
Place the drag-and-drop item as an action.
Line 8: Line 8:
:(actionSlot)
:(actionSlot)


:;actionSlot : Numeric - The action slot to place the action into.
:;actionSlot : Integer - The action slot to place the action into.
=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''




== Details ==
== 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.
: 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 an action is placed on the cursor use [[API_PutItemInBackpack]] to remove the action from the cursor without placing it in an action slot
: IMPORTANT: You can crash your client if you send an invalid slot number.


----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
[[Category:API Action Functions|PlaceAction]]
[[Category:API Drag and Drop Functions|PlaceAction]]
Anonymous user