1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-21 20:50:42 -05:00

Tranzit: adjust bus wallbuy weapon model origin

This commit is contained in:
Jbleezy
2023-03-28 01:30:42 -07:00
parent a46d29d4a1
commit ce8126de87

View File

@ -532,6 +532,7 @@ buspathblockersetup()
self.buyable_weapon = trig;
level._spawned_wallbuys[level._spawned_wallbuys.size] = trig;
weapon_model = getent( trig.target, "targetname" );
weapon_model.origin += (0, 0, 1);
weapon_model linkto( self, "", self worldtolocalcoords( weapon_model.origin ), weapon_model.angles + self.angles );
weapon_model setmovingplatformenabled( 1 );
weapon_model._linked_ent = trig;