# Game Cooldown
Grammar — Cooldown of cooldown inCooldown
Flags —Native
|Function
Returns the cooldown time for the specified global cooldown link.
# Arguments
string
— Cooldown
Returns — fixed
native fixed GameGetCooldown(string inCooldown);
# Related
Category: Game / Charges And Cooldowns
- Add Charge Remaining Regen Time For Game —
void
— GameAddChargeRegenRemaining - Add Charge Full Regen Time For Game —
void
— GameAddChargeRegenFull - Add Charge Used For Game —
void
— GameAddChargeUsed - Remove Charge Used For Game —
void
— libNtve_gf_GameRemoveChargeUsed - Charge Regen Remaining For Game —
fixed
— GameGetChargeRegen - Charge Regen Full For Game —
fixed
— GameGetChargeRegenFull - Game Charge Used —
fixed
— GameGetChargeUsed - Pause/Unpause All Charges For Game —
void
— GamePauseAllCharges - Add Cooldown For Game —
void
— GameAddCooldown - Remove Cooldown For Game —
void
— libNtve_gf_GameRemoveCooldown - Game Cooldown —
fixed
— GameGetCooldown - Pause/Unpause All Cooldowns For Game —
void
— GamePauseAllCooldowns
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3427
// Automatic Variable Declarations
// Implementation
GameAddCooldown(lp_inCooldown, (-1.0 * GameGetCooldown(lp_inCooldown)));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2923
// Automatic Variable Declarations
// Implementation
GameAddCooldown(lp_inCooldown, (-1.0 * GameGetCooldown(lp_inCooldown)));
}