So I made a lives UI for my platformer battle royale, but I want it to actually show how many lives you have left on the player’s screen because currently, you can’t actually tell how many lives you have left.
so your lives are a property, right?
just place an overlay, set it to text, go into blocks, have it receive on a channel from the property when it updates, and set the text to the property.
this probably makes sense but if you need more explaination happy to do it.
here gimme a sec ill show u what I have so far
edit:
@CassiusDoomlorde
I have this
and then the lifecycle is player knocked out
then this is the wire from the lifecycle to the counter:
a team switcher like this:
then finally a wire from the counter to the team switcher:
ok lemme make sure this works before I mark it as a solution
@CassiusDoomlorde
oh and also,
this is a battle royale so should I change the scope of the property to global?
do not do that. that will make everyone lose lives when one person does. as such, make sure the count scope is player.
Oh… alright I gotchu
other question: do you want people to spectate when they have 0 lives or when they are knocked out at 0 lives?
just asking because i know how to do it
i want people to spectate when they have 0 lives
edit 2:I finished all the steps above.
ok then. what you currently are making does that.
test it. the one i made just now works.
uh whenever i get knocked out,it still is at 5 lives:
did you make sure that the property transmits on a channel when it updates?
should work. that’s what mine looks like.
no it does not. I used a sentry for the ko and it worked fine.
any new developments?
imma try getting an alt to knock me out.
maybe it’s because of the sentry I used.
It’s not. I used a sentry and it was fine.