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
Door won't display message!
Imevil23 Offline
Member

Posts: 83
Threads: 23
Joined: Jan 2012
Reputation: 0
#3
RE: Door won't display message!

(07-29-2013, 09:10 PM)The chaser Wrote: void door(string &in asEntity)
{
if(GetSwingDoorLocked("Door1") == true)
{
SetMessage("Messages", "locked", 0);
}
}

<LANGUAGE>
<CATEGORY Name=“Messages”>
<Entry Name=“locked”>The door appears to be locked.</Entry>
</CATEGORY>
</LANGUAGE>


There, fixed it for you. When you make a message, the name of the Category is ALWAYS Messages.

Okay, so I fixed the script, but I'm still not getting anything out of this. I'll try some other things and if I manage to fix it, I'll let you know.

*EDIT* I got it working! Thanks a lot! I downloaded this lang file helper, and it showed me where the error was. I uhh... shouldn't have copy and pasted, because that screwed everything over. I'll make sure to add your name to the credits when I get this thing done!

(This post was last modified: 07-29-2013, 09:59 PM by Imevil23.)
07-29-2013, 09:30 PM
Find


Messages In This Thread
Door won't display message! - by Imevil23 - 07-29-2013, 08:29 PM
RE: Door won't display message! - by The chaser - 07-29-2013, 09:10 PM
RE: Door won't display message! - by Imevil23 - 07-29-2013, 09:30 PM



Users browsing this thread: 2 Guest(s)