Fandom

WoWWiki

API PlaceAction

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < PlaceAction

Place the drag-and-drop item as an action.

PlaceAction(actionSlot)

Parameters Edit

Arguments Edit

(actionSlot)
actionSlot 
Integer - The action slot to place the action into.

Returns Edit

nil


Details Edit

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.

Also on Fandom

Random Wiki