Your "DistanceJoueurExplosion" is calculated every tick, once all the explosions happened, in event 26.
Simply take the action that make that calculation and add it to event 22 before the "ProjectileImpulsion" destroy action and your code will work as intended.
Thanks !!!
Last thing, now, my mouse cursos is getting stucked on edge of the screen. My computer screen when on full screen. What can i do to not stopped the mouse ?
What do you exactly want to do ?
"What can i do to not stopped the mouse ?" - I don't understand that at all, even in French, it doesn't make sense to me :P
Do you want to hide the crosshair when it is "stuck" on an edge of the screen ?