The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Messages In This Thread
Screen Text Help plz! - by CrazyKilla - 06-08-2012, 11:08 AM
RE: Screen Text Help plz! - by Traggey - 06-08-2012, 11:18 AM



Users browsing this thread: 1 Guest(s)