From c8118ddbc21d1069572f0511ed561ffd9686b80b Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Fri, 4 Nov 2022 18:43:49 -0700 Subject: [PATCH] Add missing packapunch flag. --- .../scripts/zm/zm_transit/perks_and_pack_main.gsc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc b/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc index 5c52109..437e68e 100644 --- a/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc +++ b/Perks and Pack on Farm and Depot/scripts/zm/zm_transit/perks_and_pack_main.gsc @@ -119,6 +119,16 @@ register_perk_struct( perk_name, perk_model, perk_angles, perk_coordinates ) perk_struct.angles = perk_angles; perk_struct.origin = perk_coordinates; perk_struct.targetname = "zm_perk_machine"; + if ( perk_name == "specialty_weapupgrade" ) + { + flag_struct = spawnStruct(); + flag_struct.targetname = "weapupgrade_flag_targ"; + flag_struct.model = "zombie_sign_please_wait"; + flag_struct.angles = angles + ( 0, 180, 180 ); + flag_struct.origin = origin + ( anglesToForward( angles ) * 29 ) + ( anglesToRight( angles ) * -13.5 ) + ( anglesToUp( angles ) * 49.5 ); + perk_struct.target = flag_struct.targetname; + add_struct( flag_struct ); + } add_struct( perk_struct ); } @@ -174,4 +184,4 @@ solo_tombstone_removal() perk_machine_removal( perk ) { return; -} \ No newline at end of file +}