# Trigger Upgrade Level Delta

Grammar — Trigger Upgrade Level Delta
FlagsNative | Function

When “Player Upgrade Changed” occurs, “Triggering Upgrade” can be used to find out the how many levels the upgrade get changed.

Returns — int

native int EventUpgradeLevelDelta();

Category: Tech Tree / Upgrades

# Examples

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

    lv_player = EventPlayer();
    lv_upgrade = EventUpgradeName();
    lv_delta = EventUpgradeLevelDelta();

    // Conditions