WoW API: InitiateTrade

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API InitiateTrade to API InitiateTrade without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: