Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LANG File does not work or I am stupid
PowerPlay Offline
Junior Member

Posts: 12
Threads: 4
Joined: Dec 2016
Reputation: 0
LANG File does not work or I am stupid

Hello! I have tried for Hours now to just get one message to pop up when I enter a script area. I can't do it, I am losing my mind. What is wrong with these? Please help.

Spoiler below!
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">

<CATEGORY Name="Messages">

<Entry Name="LanternReminder">It's quite dark. I should find a light source to bring with me</Entry>


<CATEGORY Name="Inventory">



HPS File
Spoiler below!
void OnEnter()


void OnStart()
AddEntityCollideCallback("Player", "LanternBlock", "LanternDarkMessage", true, 1);


void LanternDarkMessage(string &in entity)
SetMessage("Messages", "LanternReminder", 4);


void OnLeave()

10-23-2019, 08:08 PM
Find Reply
MatiCekuriel Offline

Posts: 79
Threads: 11
Joined: Aug 2012
Reputation: 3
RE: LANG File does not work or I am stupid

Quote:void LanternDarkMessage(string &in entity)

Try to replace this whith :

void LanternDarkMessage(string &in asParent, string &in asChild, int alState)
10-24-2019, 05:22 AM
Find Reply

Users browsing this thread: 1 Guest(s)