Frictional Games Forum (read-only)

Full Version: Death Hint?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, so i'm having trouble with the Death Hints... I have this.



void CheckDoorFunc(string &in asParent, string &in asChild, int alState)
{
if (GetLocalVarInt("Exit") == 3)
{
SetLevelDoorLocked("UpperCellar", false);
SetEntityActive("Charles", true);
AddEnemyPatrolNode("Charles", "PN1", 0.1, "Run");
AddEnemyPatrolNode("Charles", "PN2", 0, "Run");
SetDeathHint("DeathHint", "HintRun");
}
}

And the .lang


<CATEGORY Name="DeathHint">
<Entry Name="HintRun">Run Faster</Entry>
</CATEGORY>

But the deathhint doesn't show, Help?

EDIT: Everything OTHER than the deathhint works. The Script functions and everything else in the .lang file, its just the Run Faster doesnt show.
It is likely that your lang file just has a syntax error.
(01-20-2012, 09:21 AM)palistov Wrote: [ -> ]It is likely that your lang file just has a syntax error.
Yes...um...wut
Think he means that it isn't named right.
um, but it is...isn't it?

And if it had a syntax error, wouldn't it disable the Language file, making everything else unreadable...
Try using checkpoints instead.