From 01fbf7115b1e90bd4b71b714cfcd05bce6d2b669 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Wed, 8 Mar 2023 17:29:54 -0800 Subject: [PATCH] Sliquifier: rotate teddy bear model over time --- README.md | 2 +- scripts/zm/replaced/_zm_buildables.gsc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ceb0ddc..d4e4d860 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ * Gets destroyed after activating 15 times ### Maxis Drone -* Added hint strings for purchased, already have one, can only be one, and cooling down +* Added hint strings for purchased, can only be one, and cooling down * Switches back to correct weapon after deploying ## Bank diff --git a/scripts/zm/replaced/_zm_buildables.gsc b/scripts/zm/replaced/_zm_buildables.gsc index eb00fa03..287c1140 100644 --- a/scripts/zm/replaced/_zm_buildables.gsc +++ b/scripts/zm/replaced/_zm_buildables.gsc @@ -356,15 +356,15 @@ model_fly_away_think(weaponname) wait 0.05; } - joker_model.angles += (90, 0, 0); - playfx( level._effect["poltergeist"], self.origin ); + joker_model rotateto( joker_model.angles + (90, 0, 0), 0.5 ); + joker_model waittill( "rotatedone" ); while (maps\mp\zombies\_zm_weapons::limited_weapon_below_quota( weaponname, undefined )) { wait 0.05; } - joker_model.angles -= (90, 0, 0); - playfx( level._effect["poltergeist"], self.origin ); + joker_model rotateto( joker_model.angles - (90, 0, 0), 0.5 ); + joker_model waittill( "rotatedone" ); } } \ No newline at end of file