So I’m creating a game, and I want it to display everybody’s hit points on the HUD. I’ve got a text item and created a binding script that collects the hit points, switches it to a string, and copies over the text item.
Now my problem is that I can’t tell each version of the text item to look at a different player’s hit points. Is there a way I can assign a value to a local variable for each instance of the text item? Or failing that, is there a way for the binding to retrieve the name of the specific text item?
Here’s what the script looks like right now: