Ajouter +1 en habitant[RESOLU]

comment ajouter +1 par space marins créer en nombre habitant j’ai fait changer le texte de nombre_habitant definir a “nombre_habitant” + ToString(space_marins1.Variable(habitant)+1) et en condition le nombre de space_marins1 vivant dan la scene = 1 et en action changer la variable habitant de space_marins1 ajouter 1 idem pour space marins2 et 3 etc

comment incrementer mas variable avec plusieurs variable j’ai une variable nombre habitant pour space marins1 une variable nombre habitant pour space marins2 une variable nombre habitant pour space marins3 et un changer le texte de nombre_habitant definir a “nombre_habitant:” + ToString(space_marins1.Variable(nombre_habitant)+1) comment incrementer ma variable avec space marins1 space marins2 space marins3 sans ecrire un texte par space marins se qui ne serrait pas beau

comment incrementer une variable avec plusieurs objets ajouter1 a nombre habitant a chaque fois qu’un space marins est créer