# Damage Source Position

Grammar — Damage source position
FlagsNative | Function

Returns the damage source position or where the unit who is dealing damage is standing at.

Returns — point

native point EventUnitDamageSourcePoint();

# Supported triggers

Category: Unit / Combat

# Examples

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:2507


    TriggerEnable(TriggerGetCurrent(), false);
    UnitGroupIssueOrder(gv_bonusObjSouthRavagers, OrderTargetingPoint(AbilityCommand("RavagerCorrosiveBile", 0), EventUnitDamageSourcePoint()), c_orderQueueReplace);
    Wait(0.25, c_timeAI);
    TriggerEnable(TriggerGetCurrent(), true);

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4858


    lv_nearbyRavagers = UnitGroup("Ravager", EventPlayer(), RegionCircle(UnitGetPosition(EventUnit()), 5.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    lv_ravagerShotTargetRegion = RegionCircle(EventUnitDamageSourcePoint(), 1.5);
    auto6284706C_g = lv_nearbyRavagers;
    auto6284706C_u = UnitGroupCount(auto6284706C_g, c_unitCountAll);

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:2507


    TriggerEnable(TriggerGetCurrent(), false);
    UnitGroupIssueOrder(gv_bonusObjSouthRavagers, OrderTargetingPoint(AbilityCommand("RavagerCorrosiveBile", 0), EventUnitDamageSourcePoint()), c_orderQueueReplace);
    Wait(0.25, c_timeAI);
    TriggerEnable(TriggerGetCurrent(), true);

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:4858


    lv_nearbyRavagers = UnitGroup("Ravager", EventPlayer(), RegionCircle(UnitGetPosition(EventUnit()), 5.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    lv_ravagerShotTargetRegion = RegionCircle(EventUnitDamageSourcePoint(), 1.5);
    auto6284706C_g = lv_nearbyRavagers;
    auto6284706C_u = UnitGroupCount(auto6284706C_g, c_unitCountAll);

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

        auto735B6DBB_val = lv_unitType;
        if (auto735B6DBB_val == "FenixArbiter") {
            libCOMI_gf_CM_Fenix_SuicideRecallTalandarThread(lv_player, AbilityCommand("SOASummonFenixArbiter", 0), EventUnitDamageSourcePoint());
        }
        else if (auto735B6DBB_val == "FenixCoop") {

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

        }
        else if (auto735B6DBB_val == "FenixCoop") {
            libCOMI_gf_CM_Fenix_SuicideRecallTalandarThread(lv_player, AbilityCommand("SOASummonFenix", 0), EventUnitDamageSourcePoint());
        }
        else if (auto735B6DBB_val == "FenixDragoon") {

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

        }
        else if (auto735B6DBB_val == "FenixDragoon") {
            libCOMI_gf_CM_Fenix_SuicideRecallTalandarThread(lv_player, AbilityCommand("SOASummonFenixDragoon", 0), EventUnitDamageSourcePoint());
        }
        else {

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

        }
        else {
            libCOMI_gf_CM_Fenix_SuicideRecallTalandarThread(lv_player, AbilityCommand("SOASummonFenix", 0), EventUnitDamageSourcePoint());
        }
    }