01-01-2015, 04:28 PM
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?
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?