+ Fully implemented Event Mode to the Audio Manager
+ Fixes issues #1 #2 and #3
This commit is contained in:
2025-08-23 12:14:05 -04:00
parent 55ad7d67b0
commit 081ab9a679
3 changed files with 54 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
public char PLUGIN_VERSION[8] = "8.4.0";
public char PLUGIN_VERSION[8] = "8.4.1";
void sudo(int task) {
AssLogger(LOGLVL_DEBUG, "Calling sudo with %i", task);
switch (task) {
@@ -893,6 +893,14 @@ void sudo(int task) {
case 20000:{
BossHandler.EmitSpawnSound(2);
}
case 21000:{
int i = FindTarget(0, "Professor", true, false);
AudioManager[i].EnterEventMode(30);
}
case 22000:{
int i = FindTarget(0, "Professor", true, false);
AudioManager[i].ExitEventMode();
}
// WAVE NULL Init
case 40000: {
UpdateGamemode();