Wikia

WoWWiki

API GetCompanionCooldown

Talk0
101,296pages on
this wiki
Revision as of 23:49, June 5, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetCompanionCooldown

Returns cooldown information about the companions you have. New in Patch 3.0

startTime, duration, isEnabled = GetCompanionCooldown("type", id)

Arguments Edit

type 
String (companionType) - Type of the companion being queried ("CRITTER" or "MOUNT")
id 
Number - The slot id to query (starts at 1).

Returns Edit

start 
Number - the time the cooldown period began, based on GetTime().
duration 
Number - the duration of the cooldown period.
isEnabled 
Number - 1 if the companion has a cooldown.

Around Wikia's network

Random Wiki