Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
subtitles help
Author Message
Danny Boy Online
Posting Freak

Posts: 2,386
Joined: Mar 2011
Reputation: 67
Post: #1
subtitles help
how do i make the subtitles thingy? like wend i try to open a locked door and says something like "its locked... i must find a key"?
03-23-2011 07:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #2
RE: subtitles help
SetMessage("Messages", "Entry1", 5.0f); //1st is the Category, 2nd is the subcategory you want and the 3th one is how long the message will be displayed

You'll have to create this in the .lang file
<CATEGORY Name="Messages">
<Entry Name="Entry1">I am awesomesauce!</Entry>
</CATEGORY>

03-23-2011 08:25 PM
Find all posts by this user Quote this message in a reply
Danny Boy Online
Posting Freak

Posts: 2,386
Joined: Mar 2011
Reputation: 67
Post: #3
RE: subtitles help
thank you ^-^
03-23-2011 08:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
stonecutter Offline
Member

Posts: 130
Joined: Feb 2011
Reputation: 4
Post: #4
RE: subtitles help
but the message will appear in the middle of the screen ?
03-23-2011 08:41 PM
Find all posts by this user Quote this message in a reply
Nye Offline
Senior Member

Posts: 251
Joined: Jan 2011
Reputation: 2
Post: #5
RE: subtitles help
(03-23-2011 08:41 PM)stonecutter Wrote:  but the message will appear in the middle of the screen ?

You can use [br] in the language file to set a line break (new line)

So, you can always put ...>[br][br][br]Now it's lower down!</entry>

03-23-2011 08:52 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)