# Add Charge Regen Time For Game (Deprecated)
Grammar — Add inVal seconds to the charge regen time for charge inCharge
Flags —Native
|Action
|Hidden
Adds to the amount of time it takes to regenerate the specified global charge link.
# Arguments
string
— Chargefixed
— Value
Returns — void
native void GameAddChargeRegen(
string inCharge,
fixed inVal,
);
# Related
Category: Game / Charges And Cooldowns / Deprecated
- [F] —
void
— Add Charge Regen Time For Game (Deprecated) — ( GameAddChargeRegen ) - [F] —
void
— Remove Charge Regen Time For Game (Deprecated) — ( libNtve_gf_GameRemoveChargeRegen )
# Examples
# mods/core.sc2mod
// L3415
GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)))
// L2911
GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)))