Fandom

WoWWiki

API GetCompanionCooldown

104,768pages on
this wiki
Add New Page
Talk0 Share
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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.