Frictional Games Forum (read-only)
Ingame messages - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Ingame messages (/thread-7945.html)



Ingame messages - X4anco - 05-11-2011

Hello Smile

I was trying to add an on screen message but nothing comes up
Code:
<Entry Name="flash_flash1_Text">Here, this is where the first one happend.</Entry>
Code:
SetMessage("flash_flash1", "flash_flash1", 0);

But nothing happens can you please help? Thank-you


RE: Ingame messages - Russ Money - 05-11-2011

(05-11-2011, 06:16 PM)X4anco Wrote: Hello Smile

I was trying to add an on screen message but nothing comes up
Code:
<Entry Name="flash_flash1_Text">Here, this is where the first one happend.</Entry>
Code:
SetMessage("flash_flash1", "flash_flash1", 0);

But nothing happens can you please help? Thank-you

Here's a correct example:

Also, messages don't need the _text part.
Code:
    <CATEGORY Name="Message">
        <Entry Name="Scary">Some text goes here.</Entry>
    </CATEGORY>

Code:
    SetMessage("Message", "Scary", 0);



RE: Ingame messages - X4anco - 05-11-2011

Thank-you Big Grin