Hello,
When N is pressed, both sprites are destroyed, why?? Sprite2 should never be destroyed because team_nb is not different of 1:
Of course I could code it like this:
If N pressed
If team_nb = 1 destroy Sprite1
else destroy Sprite2
But this is a simple example of a bigger project where I have exactly the same problem and I don't understand the behaviour
EDIT: I replaced ELSE by team_nb<>1 and now it works, that's strange!