Wikia

WoWWiki

API InitiateTrade

Talk0
102,039pages on
this wiki
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
TargetByName("Bob");
InitiateTrade("target");
Result

Opens the Trade window with selected target.


Description
Opens the Trade window with selected target.

Related Events:

Around Wikia's network

Random Wiki