Hi again,
I tested on my project and it works perfectly, thx again.
BUT, 2 things are annoying me : if I follow your exemple, I need to reproduce every animation (and behavior, and condition, and...) to each player, for every character. Let's say we have 8 characters and 4 players, that means I have to copy 32 times the same code. I'm sure we could find a better way to optimize it. Besides, for each animation, I need to import again and again every frames, check that the collison polygons, and the image points are the same for each player (I didn't find a way to copy/paste an animation from an object to another).
I tryed to clone the object player1, but now it seems that the player2 (the clone) is ALSO a player1 object.
In brief, isn't it possible to think in reverse order ? I mean, create each character, and then, give them the inputs of the right player ?
(I apologize if it's going to be a little bit off topic, if I need to, I will reopen in a more appropriate part of the forum)
Edit : Thank you RageByte, I will look at your file.
Edit2 : wow, it looks very impressive and efficient. I need to take my time to understand every line BTW, thak you for the comments !