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
Black screen with Text as Intro
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#6
RE: Black screen with Text as Intro

You need to create a category and an entry in your lang file;

Script File:

PHP Code: (Select All)
void OnStart()
{
    
FadeOut(0); //Instant fade
    
PlayMusic("00_event_gallery.ogg"true1.0f0.0f1true);
    
SetMessage("Messages""SampleText"2.0f); //Will display the message in the category Messages within the entry SampleText for 2.0 seconds.
    
FadeIn(2);


Lang file:
PHP Code: (Select All)
<CATEGORY Name="Messages">
    <
Entry Name="SampleText">
        
Sample Text Here
    
</Entry>
</
CATEGORY

Creator of The Dark Treasure.
02-26-2013, 12:29 PM
Website Find


Messages In This Thread
Black screen with Text as Intro - by User01 - 02-26-2013, 01:10 AM
RE: Black screen with Text as Intro - by User01 - 02-26-2013, 11:26 AM
RE: Black screen with Text as Intro - by User01 - 02-26-2013, 11:43 AM
RE: Black screen with Text as Intro - by Linus Ågren - 02-26-2013, 12:29 PM
RE: Black screen with Text as Intro - by User01 - 02-26-2013, 07:17 PM
RE: Black screen with Text as Intro - by NaxEla - 02-27-2013, 07:24 AM



Users browsing this thread: 1 Guest(s)