Wikia

WoWWiki

API GetPetActionCooldown

Talk0
98,586pages on
this wiki
Revision as of 18:37, December 23, 2006 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

Returns cooldown information for the pet action in the specified pet action bar slot.

startTime, duration, enable = GetPetActionCooldown(index);

Parameters

Arguments

index 
Number - The index of the pet action button you want to query for cooldown info.

Returns

startTime 
Number - The time when the cooldown started (as returned by GetTime()) or zero if no cooldown
duration 
Number - The number of seconds the cooldown will last, or zero if no cooldown
enable 
Boolean - 0 if no cooldown, 1 if cooldown is in effect (probably)
Advertisement | Your ad here

Photos

Add a Photo
62,228photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki