reactivedrop_public_src icon indicating copy to clipboard operation
reactivedrop_public_src copied to clipboard

The game event "alien_hurt" dosen't fire when aliens get hurt.

Open IAFCrash opened this issue 1 year ago • 0 comments

sv_cheats 1
display_game_events 1
function OnGameEvent_alien_hurt( tEventData )
{
    local hAlien    = EntIndexToHScript( tEventData["entindex"] );
    local flDamage  = tEventData["amount"];
    local hAttacker = GetPlayerFromUserID( tEventData["attacker"] );

    printl( "==> " + hAlien + " " + flDamage + " " + hAttacker );
    return;
}

IAFCrash avatar Aug 05 '24 15:08 IAFCrash