Fandom

WoWWiki

API InitiateTrade

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < InitiateTrade

Opens the Trade window with selected target.

InitiateTrade(UnitId);

Arguments
(String UnitId)
UnitId 
Either "player", "party1", "party2, "party3", "party4", or "target".

Returns

nil on failure


Example
TargetUnit("player Bob");
InitiateTrade("target");
Result

Opens the Trade window with selected target (Bob).


Description
Opens the Trade window with selected target.

Related Events:

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.

Also on Fandom

Random Wiki