diff options
author | DBmaoha <56738369+DBmaoha@users.noreply.github.com> | 2022-08-03 05:24:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 22:24:18 +0100 |
commit | f66c631e7746fefe12e690bcbc8cd15b8d26130b (patch) | |
tree | 4e61650e8a65f42279b71682163e37edbdf47965 /Northstar.CustomServers/mod/scripts | |
parent | d9fed6e461c6e19ee488568951bee7064a62baa0 (diff) | |
download | NorthstarMods-f66c631e7746fefe12e690bcbc8cd15b8d26130b.tar.gz NorthstarMods-f66c631e7746fefe12e690bcbc8cd15b8d26130b.zip |
Added Killer Outline (#470)
* Added Killer Outline
Added killer outline: highlight the killer after being killed
* Changed to _base_gametype_mp.gnut
Not using a single script right now
* Removed IsNPC() Check
Moved inside the if ( IsValid ( attacker ) ) check and removed the attacker.IsNPC()
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut index 05537435..b453286c 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut @@ -298,6 +298,9 @@ void function PostDeathThread_MP( entity player, var damageInfo ) // based on ga attackerInfo.attacker.AddToPlayerGameStat( PGS_ASSISTS, 1 ) } } + + if( attacker.IsPlayer() ) + Highlight_SetDeathRecapHighlight( attacker, "killer_outline" ) } player.p.rematchOrigin = player.p.deathOrigin |