Hi there!
Context:
I have a GlobalVariable I use for keyboard condition: GlobalVariableString(P1_b)
I also have a player_body object with an object variable: player_Id = number e.g. player_body.player_Id=3
Question
Is there a way to write it so that the number in the GlobalVariable can equal to the player_Id?
I’ve tried a couple of ways but none seems to work:
GlobalVariableString(P[player_body.Variable(player_Id)]_b)
GlobalVariableString(“P”+player_body.variable.player_Id+“_b”)
Sorry if this was hard to understand, it’s a hard to one to explain! Thank you!