How do I make it so under your name in the game it has 3 lives, and every time you resppawn, one goes away, and when you lose all of them you spectate?
I am making a parkour game, and I want you to only have 3 lives.
Well for the three lives system, just have a counter that increases every time a player is knocked out. Have the scope for the counter as player. To listen to knockouts use the knockout manager. Have a target of 3 for the counter.
Could you give me a screenshot of that please? I’m new and don’t really understand.
You realize he said he wants it so hearts appears under his gim
like his name which is not possible yet
he wants a heart depleting system where hearts under his gim would disappear when they get knocked out
no I want text under the name that says like “3 lives” or “2 lives” or “1 life”
Thats what I said
There is no possible Gimkit Way of your name or anything UI that’s connected to the character to change during knockout
No I dont want little hearts I want text under the name
Well, you can’t do that yet, but you can track your lives with an overlay device, here’s a method:
You will need:
- 1 Property
- 1 Counter
- 1 Lifecycle
- 1 Team Switcher
- 1 Overlay
Property: Player-scoped, property type [numbers], name it [Property X], default value [3]
Counter: Player-scoped, make the default value [3] and target value [0], and make it update on [Property X]
Lifecycle: Event set on [when player knocked out], transmit on [Channel X] when event occurred
Team Switcher: Switch on a [specific team], set on [spectator]
Click on the overlay, make it [player-scoped], and go to blocks:
Wires:
Lifecycle (event occurs) -> Counter (decrement counter)
Counter
Counter (target value reached) -> Team switcher (set player to configured team)
Wow that helps! Thank you so much!
This topic was closed manually because a solution was marked, there hasn’t been any recent activity, and currently the automatic closing system doesn’t work. Contact the moderators if you need this thread reopened.