Frictional Games Forum (read-only)

Full Version: Messages error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.
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.
I've must reinstall Amnesia. Now everything is okay.