MaksoPL
Member
Posts: 51
Threads: 26
Joined: Mar 2014
Reputation:
0
|
Messages error
Hi. I've got a problem with area messages. I'm walk in to the script area, and message don't create on the screen.
My .hps file
void OnStart()
{
AddEntityCollideCallback("Player", "message1", "Message1", true, 1);
}
void Message1(string &in asChild, string &in asParent, int alState)
{
SetMessage("Messages", "wiatr1", 10);
}
My .lang file (part with the message)
<CATEGORY Name="Messages">
<Entry Name="wiatr1">Wiatr bardzo glosno wieje.</Entry>
</CATEGORY>
What I've must done?
|
|
01-01-2015, 04:28 PM |
|
Mudbill
Muderator
Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation:
179
|
RE: Messages error
Can you confirm that the collision actually happens? For example if the area is 0 is one axis, it never happens because it's too small.
|
|
01-01-2015, 07:55 PM |
|
PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
RE: Messages error
Like what Mudbill said, did you collide with the script area in question? It's probably too small or something.
However, it could instead be your lang file that has the problem. Copy-paste the contents of the lang too into here.
"Veni, vidi, vici."
"I came, I saw, I conquered."
|
|
01-02-2015, 05:29 AM |
|
MaksoPL
Member
Posts: 51
Threads: 26
Joined: Mar 2014
Reputation:
0
|
RE: Messages error
I've must reinstall Amnesia. Now everything is okay.
|
|
01-02-2015, 01:46 PM |
|