# Destroy Trigger

Grammar — Destory t
FlagsNative | Action

# Arguments

  • trigger — Trigger

Returns — void

native void TriggerDestroy(trigger t);

Category: Trigger / Basic

# Examples

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

    // Implementation
    TriggerExecute(lv_trigger, lp_check, lp_wait);
    TriggerDestroy(lv_trigger);
}

mods/heromods/zarya.stormmodbase.stormdata/LibHZAR.galaxy:776

    libHZAR_gv_heroZaryaEnergyTogetherWeAreStrongShieldedAllyUnitCount[lv_localShieldedPlayer] -= 1;
    if ((libHZAR_gv_heroZaryaEnergyTogetherWeAreStrongShieldedAllyUnitCount[lv_localShieldedPlayer] <= 0)) {
        TriggerDestroy(libHZAR_gv_heroZaryaEnergyTogetherWeAreStrongShieldedAllyTrigger[lv_localShieldedPlayer]);
        libHZAR_gv_heroZaryaEnergyTogetherWeAreStrongShieldedAllyTrigger[lv_localShieldedPlayer] = null;
    }

mods/warcoop/warmeleeai.sc2modbase.sc2data/LibW3AI.galaxy:177

    Wait(30.0, c_timeGame);
    DialogDestroy(lv_d);
    TriggerDestroy(libW3AI_gt_Over);
    return true;
}