Tripication
Member
Posts: 172
Threads: 19
Joined: Dec 2011
Reputation:
6
|
Death Hint?
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.
(This post was last modified: 01-20-2012, 07:07 AM by Tripication.)
|
|
01-20-2012, 07:00 AM |
|
palistov
Posting Freak
Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation:
57
|
RE: Death Hint?
It is likely that your lang file just has a syntax error.
(This post was last modified: 01-20-2012, 09:22 AM by palistov.)
|
|
01-20-2012, 09:21 AM |
|
Tripication
Member
Posts: 172
Threads: 19
Joined: Dec 2011
Reputation:
6
|
RE: Death Hint?
(01-20-2012, 09:21 AM)palistov Wrote: It is likely that your lang file just has a syntax error. Yes...um...wut
|
|
01-20-2012, 10:42 AM |
|
flamez3
Posting Freak
Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation:
57
|
RE: Death Hint?
Think he means that it isn't named right.
(This post was last modified: 01-20-2012, 11:11 AM by flamez3.)
|
|
01-20-2012, 11:10 AM |
|
Tripication
Member
Posts: 172
Threads: 19
Joined: Dec 2011
Reputation:
6
|
RE: Death Hint?
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...
(This post was last modified: 01-20-2012, 11:23 AM by Tripication.)
|
|
01-20-2012, 11:20 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Death Hint?
Try using checkpoints instead.
|
|
01-20-2012, 11:34 AM |
|