Hello. I'm trying to to do game with 4 players. There would be many different playable characters in the game (with own hitboxes/controls/abilities/events... basically everything...), but many players are able to have a same character. I'm working with "foreach" event and I was able to do something with multiple players all of which are identical (it was different project, not this). The problem here is that I can't make my foreach events work. I want to differentiate my events with "CHAR" & "ID" alternate values:
"CHAR = (Different Playable Character)"
"ID = (Character variation... Something that tells if there are many of the same characters)"
For example:
Player 1:
CHAR = Mario
ID = 1
Player 2:
CHAR = Luigi
ID = 1
Player 3:
CHAR = Mario
ID = 2 (Id 2, because it's second Mario)
I got that part to work, BUT the problem is not being able to move the character individually (check attached file..).
It's something to do with "foreach loops", because only Player 1 can move every single character with the same "CHAR" Player 1 has.
I already have "foreach loop" for one thing so it's impossible to make multiple "foreach loops" for the same events...
(I'm bad to explain, but look at yourself from a file)...
At this point, we should figure out how to get the two red players to move separately. "CHAR" and "ID" must be included.
Controls: (P1 Moves = A,Z), (P2 Moves = S,X )