Lets say you have a player object, and you use the UID to separate them within scripts. I am trying to create a co-op system where they have their own score but have x score to each which multiplies each stage. I want to grab the sum of each instances score. How would I do that.
Basically
Instance one score = 25
instance two score = 50
so I want to do a test of
if player.UID(1).score + player.UID(2).score > goal
Goal being a global variable, set prior. But I don't know how too do that, as it doesn't accept that in expression fields.
The reason for this being there is a co-op & vs mode I am trying to make, & trying to create shared scripts for different game modes.