(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!
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.