Show subtitles for the Entity's greeting lines in Strife.

This commit is contained in:
nashmuhandes 2021-03-10 18:17:43 +08:00 committed by Christoph Oelckers
parent 12aa7a8ff6
commit bf33403381
2 changed files with 5 additions and 5 deletions

View file

@ -91,14 +91,14 @@ script << 0 >> (int type, int tag)
case 228:
if (CheckInventory ("QuestItem24"))
{
int logNum = 128;
if (CheckInventory ("QuestItem28"))
{
LocalAmbientSound ("svox/voc130", 127);
}
else
{
LocalAmbientSound ("svox/voc128", 127);
logNum = 130;
}
str soundToPlay = StrParam(s: "svox/voc", d: logNum);
LocalAmbientSound(soundToPlay, 127);
SetSubtitleNumber(logNum, soundToPlay);
clearlinespecial ();
}
break;