#player with lowest health

4 messages · Page 1 of 1 (latest)

opaque aspen
#

You would have to For Each on each player and get their health, unless its stored in a local variable, in which case you have to send an event to everyone, telling them to send an event back to you containing their health

split dirge
#

Or, if that does not work, you can do the same system as the Closest Player system but instead of Distance, it is the Health.

30Hz into an If

Less Than into the condition

Combatant Get Health chip connected to a Player Variable

Health into the bottom of the Less Than

Get Local Player connected to a different Combatant Get Health

Health into the top of the Less Than

The If's Then should go into the Player Variable

The Player Variable should be Synced

opaque aspen
#

oh wait but player variables would still work in this case