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
Death Hints & Normal Hints
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#3
RE: Death Hints & Normal Hints

(11-04-2012, 04:36 PM)beecake Wrote: void SetDeathHint(string& asTextCategory, string& asTextEntry);
Sets the message that appears when the player dies.
asTextCategory - the category in the .lang file
asTextEntry - the entry in the .lang file

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.


Oh, thanks, I'm just wondering how to actually make the message appear when a timer ends, how do I set when the message comes up? And also, where should I put that script in my .hps file, do i put it in the same places as the function that is carried out when the timer ends or somewhere else? And also, where should I put the deathhint one? But thanks for telling me the actual script! Big Grin

EDIT: -_- Epic noob mistake for the normal hint, just had to put it in the function! Sorry, So thanks for helping out with that one. Still confused on the deathhint one though.

"Computers follow your orders not your intentions"- Anon
(This post was last modified: 11-04-2012, 04:47 PM by MrDosht.)
11-04-2012, 04:43 PM
Find


Messages In This Thread
Death Hints & Normal Hints - by MrDosht - 11-04-2012, 04:17 PM
RE: Death Hints & Normal Hints - by MrDosht - 11-04-2012, 04:43 PM



Users browsing this thread: 1 Guest(s)