# Game Cooldown

Grammar — Cooldown of cooldown inCooldown
FlagsNative | Function

Returns the cooldown time for the specified global cooldown link.

# Arguments

  • string — Cooldown

Returns — fixed

native fixed GameGetCooldown(string inCooldown);

Category: Game / Charges And Cooldowns

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3427

    // Automatic Variable Declarations
    // Implementation
    GameAddCooldown(lp_inCooldown, (-1.0 * GameGetCooldown(lp_inCooldown)));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2923

    // Automatic Variable Declarations
    // Implementation
    GameAddCooldown(lp_inCooldown, (-1.0 * GameGetCooldown(lp_inCooldown)));
}