# Triggering Effect Amount (Real)

FlagsNative | Function

# Arguments

Returns — fixed

native fixed EventPlayerEffectUsedAmountFixed(
	int inAmount,
	bool total,
);

# Supported triggers

Category: Environment / Effects

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11562


    lv_hostPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
    lv_healingAmount = EventPlayerEffectUsedAmountFixed(c_effectAmountHealed, false);
    lv_vertOffset = 2.0;
    lv_horizOffset = RandomFixed(-0.4, -0.6);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:18695

    }

    CatalogFieldValueSetFixed(c_gameCatalogEffect, "RehgarAncestralHealingFarseersBlessingCreateHealer", "RechargeVitalRate", UnitGetOwner(lv_casterUnit), (EventPlayerEffectUsedAmountFixed(c_effectAmountHealed, true) * libGDHL_gv_heroRehgarAncestralHealingFarseersBlessingHealScale));
    UnitCreateEffectUnit(lv_casterUnit, "RehgarAncestralHealingFarseersBlessingSearch", lv_targetUnit);
    return true;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SoundLib.galaxy:1474

        }

        if (!((EventPlayerEffectUsedAmountFixed(c_effectAmountHealed, false) > lv_healMinimum))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:18566

    }

    libCOMI_gv_cM_Fenix_SuicideLife[EventPlayer()] = EventPlayerEffectUsedAmountFixed(c_effectAmountShieldsChanged, true);
    libCOMI_gv_cM_Fenix_SuicideShield[EventPlayer()] = EventPlayerEffectUsedAmountFixed(c_effectAmountLifeChanged, false);
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:18567


    libCOMI_gv_cM_Fenix_SuicideLife[EventPlayer()] = EventPlayerEffectUsedAmountFixed(c_effectAmountShieldsChanged, true);
    libCOMI_gv_cM_Fenix_SuicideShield[EventPlayer()] = EventPlayerEffectUsedAmountFixed(c_effectAmountLifeChanged, false);
    return true;
}