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
Screen Text Help plz!
CrazyKilla Offline
Junior Member

Posts: 19
Threads: 6
Joined: Apr 2012
Reputation: 0
#1
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
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#2
RE: Screen Text Help plz!

Moved to development support.
06-08-2012, 11:18 AM
Find




Users browsing this thread: 1 Guest(s)