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
Message on screen?
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Message on screen?

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""ScrAreaLocation""MsgAppear"true1); //ScrAreaLocation is the location where the message will appear. Change true to false if you want the message to appear over and over again.
}

void MsgAppear(string &in asParentstring &in asChildint alState)
{
SetMessage("MessageCategory""MessageEntry"0);
//MessageCategory is the category of the message.
//MessageEntry is the entry of the message in the category specified earlier.
//0 is the amount of time you want the message to appear. 0 means that it will calculate how many strings and calculate the time.


"Veni, vidi, vici."
"I came, I saw, I conquered."
05-26-2013, 04:12 PM
Find


Messages In This Thread
Message on screen? - by amnesiaplayer321 - 05-26-2013, 04:05 PM
RE: Message on screen? - by PutraenusAlivius - 05-26-2013, 04:12 PM
RE: Message on screen? - by amnesiaplayer321 - 05-26-2013, 04:44 PM
RE: Message on screen? - by ClayPigeon - 05-26-2013, 04:49 PM
RE: Message on screen? - by amnesiaplayer321 - 05-26-2013, 04:57 PM



Users browsing this thread: 1 Guest(s)