WoW:API InitiateTrade: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
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: