From 65f701af995baf17c48407734dc840a0172cd424 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Tue, 17 Oct 2023 22:32:23 -0700 Subject: [PATCH] Containment on Borough: move Outside Gunsmith zone objective waypoint --- scripts/zm/zgrief/zgrief_reimagined.gsc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/zm/zgrief/zgrief_reimagined.gsc b/scripts/zm/zgrief/zgrief_reimagined.gsc index 6a4867bd..418c6db7 100644 --- a/scripts/zm/zgrief/zgrief_reimagined.gsc +++ b/scripts/zm/zgrief/zgrief_reimagined.gsc @@ -2685,6 +2685,15 @@ containment_think() player.obj_waypoint.y = (other_zone.volumes[0].origin[1] + other_zone2.volumes[0].origin[1]) / 2; player.obj_waypoint.z = (other_zone.volumes[0].origin[2] + other_zone2.volumes[0].origin[2]) / 2; } + if(level.script == "zm_buried" && zone_name == "zone_street_darkwest") + { + other_zone = level.zones["zone_gun_store"]; + other_zone2 = level.zones["zone_general_store"]; + other_zone3 = level.zones["zone_street_darkwest_nook"]; + player.obj_waypoint.x = (other_zone.volumes[0].origin[0] + other_zone2.volumes[0].origin[0] + other_zone3.volumes[0].origin[0]) / 3; + player.obj_waypoint.y = (other_zone.volumes[0].origin[1] + other_zone2.volumes[0].origin[1] + other_zone3.volumes[0].origin[1]) / 3; + player.obj_waypoint.z = (other_zone.volumes[0].origin[2] + other_zone2.volumes[0].origin[2] + other_zone3.volumes[0].origin[2]) / 3; + } else if(level.script == "zm_buried" && zone_name == "zone_street_darkeast") { other_zone = level.zones["zone_underground_bar"];