diff options
author | Barichello <artur@barichello.me> | 2022-01-30 12:08:27 -0300 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-01-30 12:08:27 -0300 |
commit | 731549840c8db1925998d603e94e6092650d0db1 (patch) | |
tree | 4403f0ee1fe2e07a12b815dcf261307e7c493bc3 /Northstar.CustomServers/mod/scripts/vscripts/gamemodes | |
parent | 08a3f18ed357ec82000aef0842ebffc0cfa7ad80 (diff) | |
download | NorthstarMods-731549840c8db1925998d603e94e6092650d0db1.tar.gz NorthstarMods-731549840c8db1925998d603e94e6092650d0db1.zip |
Track enemies marked for death on minimap
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut index 11cb71f6..659dbb7a 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_mfd.nut @@ -153,6 +153,8 @@ void function MarkPlayers( entity imcMark, entity militiaMark ) // clear marks level.mfdActiveMarkedPlayerEnt[ TEAM_IMC ].SetOwner( null ) level.mfdActiveMarkedPlayerEnt[ TEAM_MILITIA ].SetOwner( null ) + imcMark.Minimap_Hide( TEAM_MILITIA, null ) + militiaMark.Minimap_Hide( TEAM_IMC, null ) foreach ( entity player in GetPlayerArray() ) Remote_CallFunction_NonReplay( player, "SCB_MarkedChanged" ) @@ -165,6 +167,8 @@ void function MarkPlayers( entity imcMark, entity militiaMark ) // set marks level.mfdActiveMarkedPlayerEnt[ TEAM_IMC ].SetOwner( imcMark ) level.mfdActiveMarkedPlayerEnt[ TEAM_MILITIA ].SetOwner( militiaMark ) + imcMark.Minimap_AlwaysShow( TEAM_MILITIA, null ) + militiaMark.Minimap_AlwaysShow( TEAM_IMC, null ) foreach ( entity player in GetPlayerArray() ) Remote_CallFunction_NonReplay( player, "SCB_MarkedChanged" ) |