Frictional Games Forum (read-only)

Full Version: Screen Text Help plz!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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>
Moved to development support.