WoW API: CallCompanion

Revision as of 11:04, 2 August 2008 by WoWWiki>Ackis (Initial creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Will summon the specified companion.

Example

CallCompanion("CRITTER",1)

Result

The first mini-pet you have will be summoned.