aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
diff options
context:
space:
mode:
authorDBmaoha <56738369+DBmaoha@users.noreply.github.com>2022-08-03 05:24:18 +0800
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-08-07 23:12:17 +0200
commitef28763f14b92e510cae8a74351f74ba289d050c (patch)
treeb60f6f4a4005e838da6fadbd55c195eb585917a5 /Northstar.CustomServers/mod/scripts
parent2408ac85587231a6cf8de55e58cc82c8254a7a52 (diff)
downloadNorthstarMods-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/scripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut3
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