Hello, first I want to apologize for the English mistakes, I am Brazilian and I'm using google translator.
Ok, come on, I have an object called "soldier" and he has an instance variable called "state" type number, I did an event to buy the distance from the soldier to the enemy when he is near, the variable state is set to 1, and did an event for the state = 1, the soldier stops walking. But when I create more objects soldier when the first stops walking, everyone stops. I want to make each need to be in the distance I determined.
I'll post the project to be easier to understand