Jump to content

HudMessages - how do you label a printed integer?


Recommended Posts

So i'm assigning a hood message to display an integer vairebale in ACS.

Quote

HudMessage(i:playerLevel);

(Note i haven't yet added in the parameters for colour, placement etc)

 

I want the player to know that the static number on display is their Player Level.

 

Is there an option to print a string of words right next to the integer? (If so how do i do it?). Or will i have to do it the long way by placing a second hudmessage to overshadow the interger on display :(

 

One more question....

 

Spoiler

What are the exact coordinates to place a message on upper left and uper right sections of the screen?

 

Share this post


Link to post

yeah, you can, by using multiple of the s:, i:, etc identifiers separated by commas. In this case, you'd want

HudMessage(s:"Player level: ",i:playerLevel;...);

Of course, depending on your desired formatting, you might need multiple hudmessages in order to render it right.

Edited by InsanityBringer

Share this post


Link to post
22 hours ago, Empyre said:

Oh, you posted twice, presumably by accident. I answered the other one.

Sorry i didn't even realise, thank you for you help as well :)

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...