01-20-2012, 07:00 AM
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.
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.