# Dialog Item Event Type

Grammar — Dialog item event type
FlagsNative | Function

Returns the event type of the dialog item that was used.

Returns — int<preset::ControlEventType>

native int EventDialogControlEventType();

# Supported triggers

Category: Dialog / Dialog Items

# Examples

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18019

    }

    autoC32D9971_val = EventDialogControlEventType();
    if (autoC32D9971_val == c_triggerControlEventTypeMouseEnter) {
        DialogControlSetVisible(libSwaC_gv_zS_BB_HpLabel, PlayerGroupAll(), true);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18250

        }
    }
    auto2B9A9574_val = EventDialogControlEventType();
    if (auto2B9A9574_val == c_triggerControlEventTypeMouseEnter) {
        DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogHealthLabel[lv_index], PlayerGroupAll(), true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:1754

    // Conditions
    if (testConds) {
        if (!((EventDialogControlEventType() == c_triggerControlEventTypeMouseEnter))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:1797

    // Conditions
    if (testConds) {
        if (!(((EventDialogControlEventType() == c_triggerControlEventTypeMouseExit) || (EventDialogControlEventType() == c_triggerControlEventTypeClick)))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:1797

    // Conditions
    if (testConds) {
        if (!(((EventDialogControlEventType() == c_triggerControlEventTypeMouseExit) || (EventDialogControlEventType() == c_triggerControlEventTypeClick)))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:1754

    // Conditions
    if (testConds) {
        if (!((EventDialogControlEventType() == c_triggerControlEventTypeMouseEnter))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:1797

    // Conditions
    if (testConds) {
        if (!(((EventDialogControlEventType() == c_triggerControlEventTypeMouseExit) || (EventDialogControlEventType() == c_triggerControlEventTypeClick)))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:1797

    // Conditions
    if (testConds) {
        if (!(((EventDialogControlEventType() == c_triggerControlEventTypeMouseExit) || (EventDialogControlEventType() == c_triggerControlEventTypeClick)))) {
            return false;
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9762

        }
    }
    autoF3A5F50D_val = EventDialogControlEventType();
    if (autoF3A5F50D_val == c_triggerControlEventTypeMouseEnter) {
        if ((UnitGetPropertyFixed(libVCUI_gv_pU_VoidHeroUIUnit[lv_index], c_unitPropLifeMax, c_unitPropCurrent) > 0)) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:6906

        }
    }
    autoF3A5F50D_val = EventDialogControlEventType();
    if (autoF3A5F50D_val == c_triggerControlEventTypeMouseEnter) {
        if ((UnitGetPropertyFixed(libNCUI_gv_NU_HeroUnit[lv_index], c_unitPropLifeMax, c_unitPropCurrent) > 0)) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:8201

        }
    }
    autoF3A5F50D_val = EventDialogControlEventType();
    if (autoF3A5F50D_val == c_triggerControlEventTypeMouseEnter) {
        if ((UnitGetPropertyFixed(libCOUI_gv_cU_HeroUnit[lv_index][EventPlayer()], c_unitPropLifeMax, c_unitPropCurrent) > 0)) {

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:8402

    }

    autoC32D9971_val = EventDialogControlEventType();
    if (autoC32D9971_val == c_triggerControlEventTypeMouseEnter) {
        DialogControlSetVisible(libA3DDD02B_gv_pP_BB_HpLabel, PlayerGroupAll(), true);

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:8639

        }
    }
    auto2B9A9574_val = EventDialogControlEventType();
    if (auto2B9A9574_val == c_triggerControlEventTypeMouseEnter) {
        DialogControlSetVisible(libA3DDD02B_gv_pP_HeroUIDialogHealthLabel[lv_index], PlayerGroupAll(), true);