WoW:API InitiateTrade: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''InitiateTrade''' ''-Documentation edited by [[Mind]]-''</center>


Opens the Trade window with selected target.
Opens the Trade window with selected target.

Revision as of 21:59, 16 January 2008

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: