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
Script Help How to appear a text message on screen?
jamesclarke555 Offline
Junior Member

Posts: 34
Threads: 2
Joined: Jan 2012
Reputation: 0
#2
RE: How to appear a text message on screen?

If you haven't already, you'll need to create an english.lang file; this will contain the information for your messages. Read up on that here.

But it will look something like this:

<CATEGORY Name="Messages">
<Entry Name="Message01">Hello world</Entry>
</CATEGORY>

Now in your map script file, use the following to call the message (obviously, this has to be called using a function, how you do this is up to you):

SetMessage("Messages", " Message01", 0.0f);

The float value (0.0f) determines how long the message is displayed.

- Parasomnia -
[Image: SxShD]
07-03-2012, 09:00 AM
Find


Messages In This Thread
RE: How to appear a text message on screen? - by jamesclarke555 - 07-03-2012, 09:00 AM



Users browsing this thread: 2 Guest(s)