mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Bouncing Betty: optimize detonate
Bouncing Betty: wait before detonate Bouncing Betty: add detonate sound Bouncing Betty: add place sound
This commit is contained in:
parent
4c7b0f53c7
commit
4a0fdcc3db
@ -132,7 +132,7 @@ betty_safe_to_plant()
|
||||
betty_wait_and_detonate()
|
||||
{
|
||||
wait 0.1;
|
||||
self detonate(self.owner);
|
||||
self bouncingbettydetonate();
|
||||
}
|
||||
|
||||
betty_watch()
|
||||
@ -345,14 +345,21 @@ betty_detonation()
|
||||
|
||||
if (ent damageconetrace(self.origin, self) > 0)
|
||||
{
|
||||
self spawnminemover();
|
||||
self.minemover thread bouncingbettyjumpandexplode();
|
||||
self delete();
|
||||
self playsound("wpn_claymore_alert");
|
||||
wait 0.1;
|
||||
self bouncingbettydetonate();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bouncingbettydetonate()
|
||||
{
|
||||
self spawnminemover();
|
||||
self.minemover thread bouncingbettyjumpandexplode();
|
||||
self delete();
|
||||
}
|
||||
|
||||
spawnminemover()
|
||||
{
|
||||
minemover = spawn("script_model", self.origin);
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user