![]() |
Message Pop up? - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Message Pop up? (/thread-19524.html) |
Message Pop up? - T122002 - 12-12-2012 Hello everybody! I have a question about messages. I was reading a forum before I posted this and I couldn't get it right. I thought I would be able to do something, like walking into a scripted area then a message popping up on screen. Here is my .lang file: Ah, the mansion! No turning back now. Here is the .hps file: AddEntityCollideCallback("Player", "Message_1", "Message1", true, 1); void Message1(string &in asChild, string &in asParent, int alState) { SetMessage("Messages", "Popup1", 3); } And in my map, the scripted area is named "Message_1". I thought that would work, but nothing happens. What am I doing wrong? Thanks to everyone in advanced! RE: Message Pop up? - Statyk - 12-12-2012 fix the display of your .lnag for us. The forums seem to have eaten the code a bit. Use "[ code ] blahblahblah [ /code ]" (without spaces) at the beginning and end of your .lang to keep it from eating the code up again. |