WoW:API InitiateTrade

From AddOn Studio
Revision as of 04:24, 12 March 2005 by WoWWiki>Fsdfs
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
InitiateTrade -Documentation edited by Mind-

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.

Template:WoW API