| CrazyKilla   Junior Member
 
 Posts: 19
 Threads: 6
 Joined: Apr 2012
 Reputation: 
0
 | 
			| Screen Text Help plz! 
 
				Hi, im CrazyKilla
 Im working on a custom story, i want to make it that some text appears on the screen as soon as you start the level, i went to engine scripts page and found this:
 
 
 void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
 
 Displays a message on the screen.
 
 asTextCategory - the category in the .lang file
 asTextEntry - the entry in the .lang file
 afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length.
 
 
 i understand it, but what the hell do i do in extra_english.lang? can i make a seperate catagory and give it a name? how do i type it all out in the extra english, help please!
 
 EDIT: alright i fixed it, in the hps:
 
 void FirstMessage(string &in asTimer)
 
 {
 SetMessage("Messages", "The name that you put in extra english", "how long text is on screen");
 }
 
 in extra_english:
 
 <Entry Name="name u used in hps">"Your Text"</Entry>
 
 
				
(This post was last modified: 06-08-2012, 01:04 PM by CrazyKilla.)
 |  | 
	| 06-08-2012, 11:08 AM |  | 
	
		| Traggey   is mildly amused
 
 Posts: 3,257
 Threads: 74
 Joined: Feb 2012
 Reputation: 
185
 | 
			| RE: Screen Text Help plz! 
 
				Moved to development support.
			 |  | 
	| 06-08-2012, 11:18 AM |  |