# Triggering Event Name

Grammar — Triggering event name
FlagsNative | Function

Returns the name of the generic event in response to Generic Event.

Returns — string

native string EventGenericName();

# Supported triggers

Category: Trigger / Basic

# Examples

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2189

    }

    if ((EventGenericName() == libGame_gv_eventID_ArenaMode_Crowd_KillingSpree_Announce_C)) {
        lv_playerIndex = libGame_gf_ArenaModeKillingSpreePlayer();
        SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_KillingSpree", -1), c_maxPlayers, PlayerGroupSingle(lv_playerIndex), 100.0, 0.0);

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2194

    }

    if ((EventGenericName() == libGame_gv_eventID_ArenaMode_Crowd_Mayhem_Announce_C)) {
        lv_playerIndex = libGame_gf_ArenaModeMayhemPlayer();
        SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Mayhem", -1), c_maxPlayers, PlayerGroupSingle(lv_playerIndex), 100.0, 0.0);

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:2199

    }

    if ((EventGenericName() == libGame_gv_eventID_ArenaMode_Crowd_HotS_Announce_C)) {
        lv_playerIndex = libGame_gf_ArenaModeHotSPlayer();
        SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_HOTS", -1), c_maxPlayers, PlayerGroupSingle(lv_playerIndex), 100.0, 0.0);

mods/heromods/alarak.stormmodbase.stormdata/LibHALA.galaxy:476

    }

    if ((EventGenericName() == "HeroKilled")) {
        lv_deadUnitOwner = libGame_gf_HeroKilledPlayer();
        lv_deadUnitLocation = libGame_gf_HeroKilledLocation();

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

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetInt(false, TriggerEventParamName(EventGenericName(), (lp_techLevelParameter)));
}

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

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetInt(false, TriggerEventParamName(EventGenericName(), ("StetmannPowerTowerPlayer")));
}

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

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetUnit(false, TriggerEventParamName(EventGenericName(), "EventHero"));
}

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

    // Automatic Variable Declarations
    // Implementation
    return (DataTableGetString(false, TriggerEventParamName(EventGenericName(), "EventHeroInstance")));
}

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

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetUnit(false, TriggerEventParamName(EventGenericName(), "EventStructure"));
}

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

    auto43A95D7E_val = lp_unit;
    if (auto43A95D7E_val == libCOMI_ge_CM_ZeratulProphecyEventUnits_ZeratulUnit) {
        return DataTableGetUnit(false, TriggerEventParamName(EventGenericName(), "ZeratulEventUnit"));
    }
    else if (auto43A95D7E_val == libCOMI_ge_CM_ZeratulProphecyEventUnits_ArtifactUnit) {

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

    }
    else if (auto43A95D7E_val == libCOMI_ge_CM_ZeratulProphecyEventUnits_ArtifactUnit) {
        return DataTableGetUnit(false, TriggerEventParamName(EventGenericName(), "ZeratulEventArtifactUnit"));
    }
    else {

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

    else {
    }
    return DataTableGetUnit(false, TriggerEventParamName(EventGenericName(), "ZeratulEventUnit"));
}

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

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetInt(false, TriggerEventParamName(EventGenericName(), "ZeratulEventArtifactNumber"));
}

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

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetInt(false, TriggerEventParamName(EventGenericName(), "ZeratulEventPlayer"));
}

mods/warcoop/warcoopdata.sc2modbase.sc2data/TriggerLibs/WarCoopData.galaxy:206

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetString(false, TriggerEventParamName(EventGenericName(), "Cheat"));
}

mods/warcoop/warcoopdata.sc2modbase.sc2data/TriggerLibs/WarCoopData.galaxy:212

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetInt(false, TriggerEventParamName(EventGenericName(), "Player"));
}

mods/warcoop/warcoopdata.sc2modbase.sc2data/TriggerLibs/WarCoopData.galaxy:218

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetString(false, TriggerEventParamName(EventGenericName(), ("Param" + IntToString(lp_parameterIndex))));
}

mods/warcoop/warcoopdata.sc2modbase.sc2data/TriggerLibs/WarCoopData.galaxy:224

    // Automatic Variable Declarations
    // Implementation
    return DataTableGetInt(false, TriggerEventParamName(EventGenericName(), "ParamCount"));
}