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 IAFJaeger opened this issue 6 months 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;
}

IAFJaeger avatar Aug 05 '24 15:08 IAFJaeger