mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-01 15:20:53 +00:00
Show subtitles for the Entity's greeting lines in Strife.
This commit is contained in:
parent
12aa7a8ff6
commit
bf33403381
2 changed files with 5 additions and 5 deletions
Binary file not shown.
|
@ -91,14 +91,14 @@ script << 0 >> (int type, int tag)
|
||||||
case 228:
|
case 228:
|
||||||
if (CheckInventory ("QuestItem24"))
|
if (CheckInventory ("QuestItem24"))
|
||||||
{
|
{
|
||||||
|
int logNum = 128;
|
||||||
if (CheckInventory ("QuestItem28"))
|
if (CheckInventory ("QuestItem28"))
|
||||||
{
|
{
|
||||||
LocalAmbientSound ("svox/voc130", 127);
|
logNum = 130;
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LocalAmbientSound ("svox/voc128", 127);
|
|
||||||
}
|
}
|
||||||
|
str soundToPlay = StrParam(s: "svox/voc", d: logNum);
|
||||||
|
LocalAmbientSound(soundToPlay, 127);
|
||||||
|
SetSubtitleNumber(logNum, soundToPlay);
|
||||||
clearlinespecial ();
|
clearlinespecial ();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue