Sign in to follow this  
Sheryl

player() function in menu files.

Recommended Posts

Hi all

Just curious if anyone knows other keywords that work with the player() function call used in UI menus. The only two I know of are player(score) and (teamname.) Tried some others that would maybe be common, like player(health), but none of them were recognized. I figure there should be more than two of them.

Share this post


Link to post
Share on other sites
Posted (edited)

"player" is an operand. Yea, this is weird since it's treated as "+" or "-" or "<<", etc. I guess some of this "operands" can be treated as functions since complete list of operands contains math stuff like "sin", "cos" too.

Complete list of UI script operands: https://gist.github.com/T-Maxxx/50cfdfa5a6eeefbd6ca7e434d1c80b71

And here you can reference complete list of UI script commands (functions that sets something): https://gist.github.com/T-Maxxx/886cc302b8db241b1cc4855c4336fc49

Edited by T-Max
  • Like 1

Share this post


Link to post
Share on other sites

hudfade (weapon). Will have to try that one. Been using (dpad) for various elements on the bottom of the screen and wonder how this one will be different.

Thanks. 👍

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Sign in to follow this