diff options
author | DBmaoha <56738369+DBmaoha@users.noreply.github.com> | 2022-08-03 05:24:18 +0800 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-08-07 23:12:17 +0200 |
commit | ef28763f14b92e510cae8a74351f74ba289d050c (patch) | |
tree | b60f6f4a4005e838da6fadbd55c195eb585917a5 /Northstar.CustomServers/mod | |
parent | 2408ac85587231a6cf8de55e58cc82c8254a7a52 (diff) | |
download | NorthstarMods-ef28763f14b92e510cae8a74351f74ba289d050c.tar.gz NorthstarMods-ef28763f14b92e510cae8a74351f74ba289d050c.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')
-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 |