![]() |
[SCRIPT] Death Hint? - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Death Hint? (/thread-12721.html) |
Death Hint? - Tripication - 01-20-2012 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. RE: Death Hint? - palistov - 01-20-2012 It is likely that your lang file just has a syntax error. RE: Death Hint? - Tripication - 01-20-2012 (01-20-2012, 09:21 AM)palistov Wrote: It is likely that your lang file just has a syntax error.Yes...um...wut RE: Death Hint? - flamez3 - 01-20-2012 Think he means that it isn't named right. RE: Death Hint? - Tripication - 01-20-2012 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... RE: Death Hint? - Your Computer - 01-20-2012 Try using checkpoints instead. |