Additional dialogue event ADE_ZOMBIESRISE is called when new zombies are created from corpses

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8660 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2019-02-04 20:06:12 +00:00
parent 72c9e94cc2
commit a97425a321
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -359,6 +359,7 @@ enum AdditionalDialogEvents
ADE_BANDAGE_PERFORM_END, // we finished bandaging someone, aData1 is the profile of person
ADE_BANDAGE_RECEIVE_BEGIN, // someone bandages us, aData1 is the profile of person
ADE_BANDAGE_RECEIVE_END, // someone finished bandaging us, aData1 is the profile of person
ADE_ZOMBIESRISE, // a new wave of zombies is spawned from corpses
};
// We call this function from several places. It uses the dialogue functions, but calls a Lua script to know whether something, and what, should be said
+3
View File
@@ -2744,6 +2744,9 @@ void RaiseZombies( void )
#endif
SetMusicMode( MUSIC_TACTICAL_ENEMYPRESENT );
// Flugente: additional dialogue
AdditionalTacticalCharacterDialogue_AllInSector( gWorldSectorX, gWorldSectorY, gbWorldSectorZ, NO_PROFILE, ADE_ZOMBIESRISE );
// alert the creatures
HandleInitialRedAlert( CREATURE_TEAM, FALSE );