diff --git a/README.md b/README.md index df96eb60..ca9f5175 100644 --- a/README.md +++ b/README.md @@ -478,5 +478,6 @@ ### Containment * Gain score by being the only team in the containment zone * First team to gain 250 score wins the game +* Zombies only go after players in the containment zone * Players respawn after being down for 10 seconds * Players retain perks \ No newline at end of file diff --git a/scripts/zm/zgrief/zgrief_reimagined.gsc b/scripts/zm/zgrief/zgrief_reimagined.gsc index 2e2795a4..40ac5e71 100644 --- a/scripts/zm/zgrief/zgrief_reimagined.gsc +++ b/scripts/zm/zgrief/zgrief_reimagined.gsc @@ -2121,6 +2121,7 @@ containment_think() if(is_player_valid(player)) { in_containment_zone[player.team]++; + player.ignoreme = 0; if(isads(player)) { @@ -2146,6 +2147,7 @@ containment_think() { if(is_player_valid(player)) { + player.ignoreme = 1; player.containment_waypoint.alpha = 0.5; } else @@ -2224,6 +2226,10 @@ containment_think() { foreach(player in players) { + if(is_player_valid(player)) + { + player.ignoreme = 0; + } player.containment_waypoint.color = (1, 1, 1); } @@ -2240,6 +2246,11 @@ containment_think() players = get_players(); foreach(player in players) { + if(is_player_valid(player)) + { + player.ignoreme = 0; + } + if(isDefined(player.containment_waypoint)) { player.containment_waypoint.alpha = 0;