mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user