Wikia

WoWWiki

Watchlist Recent changes

API GetCompanionCooldown

Main Menue



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.

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki