# Charge Regen Remaining For Game

Grammar — Charge regen time of charge inCharge
FlagsNative | Function

Returns the charge regen time for the specified global charge link.

# Arguments

  • string — Charge

Returns — fixed

native fixed GameGetChargeRegen(string inCharge);

Category: Game / Charges And Cooldowns

# Examples

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

    // Automatic Variable Declarations
    // Implementation
    GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)));
}

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

    // Automatic Variable Declarations
    // Implementation
    GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)));
}