#How do I make a system that tells everyone how much of a specific currency they have
1 messages · Page 1 of 1 (latest)
Hud elements
be specific
I dont want that weird one with the colored block
Then do level hud then
then what do I do with that
Use “HUD set text” I don’t remember the exact name but it’s HUD set text something
You’ll see it
Then use an event receiver 30Hz to constantly set the text
And you can “to string” the currency value
And connect it to the text value
I dont see Hud set text
Type just HUD
and look for something similar to that
?
(Selected HUD Options)
//Title, Subtitle, or the Inventory one would be the best ones to uses for this
Int Currency OR Get the players Room currency if your using that
HUD Set Enabled (Currency)
HUD Set Label (Currency)
(Int Currency)```
Close, it’s that but without the enabled part
It should have a purple input port // string port
Text value
Or it might just say text
If you’re able to, type HUD and send a picture of all the options
yea
Ok, then wire yellow to yellow
Is it set to title or subtitle? Or whatever the configuration options are
Ok, now get your currency I assume it is an INT?
basically, it just tells all players how much wins they have
Wire the int (currency) to a circuit called To String
Wire the output from the To String to the string of the label
but it shows for each individual player's win count
on each individual player's screen
What do you mean by this? Do you already have a HUD system that just doesn’t work?
no
no its a currency
Then what do you mean by this ^^^
like
I want it to display how much wins they have
so they know how much wins they have
I wouldn’t use a currency for wins, I’d use an Int Variable
but I dont want them seeing other people's win count either
any particular reason why?
so they can use the wins to get stuff
Oh, ok
there is a circuit called Room Currency Get Value or something like that, it basically gets an int value of your currency
I justcrashed
You only really need maybe like 2 more
which ones
^
^
whys this so high
I don’t know, is there something in your map causing it? Disconnect the system you just made and check it again
I already tried that
it just randomly went up
so Idk
Oh
is having high NET bad
yes
well how do I fix it
Do you have another Event Receiver: 30Hz somewhere in your map
I have like 5
Yeah but see how the “else” is continuing the constant signal
Follow that and see where it leads
thats not relevent
as thats been in the game for awhile
and the NET hasn't changed
^ does this lower the net
Event 30hz Is already an ALL sender
its just the event reciever 30hz
So your basically telling all players to send data to each other
what can I switch the event reciever to
Event 30Hz runs for all players in the game so running an ALL event just exponentially increases the signal
Just don’t use an event
Wire it straight to the subtitle
Screenshot your system again
can I make it say wins aswell?
Yeah
Place down a String Format
ok
Do this not the RUN
Then manually type in the “Format” square “{0} Wins”
Or whatever you want
{0} will be replaced with the win count
oh
So you could also put
You have {0} Wins
Or
{0} Wins
Or
You’ve won {0} times!
😀