WoW API: CallCompanion

Revision as of 21:51, 23 September 2008 by WoWWiki>Tuhljin (→‎Returns)

WoW API < CallCompanion


Summons the specified companion. New in Patch 3.0

CallCompanion("type", id)

Parameters

Arguments

("type")
type
String - The TypeID to query (e.g. "CRITTER", or "MOUNT")
id
Integer - The slot id to query (starts at 1).

Returns

nil

Example

CallCompanion("CRITTER",1)

Result

The first mini-pet you have will be summoned.