You see, I have this line of event:
Every random (0.5,5) secs spawn Customer 1 at the bla bla...[/code:3khpbafu] It working well but now I want the certain spawned customer to stop but not all of it. Just some of it to stop at the counter/cashier. If I make the Customer 1 to stop, it will stop all of it. I just want to stop certain of the spawned object, not all. Please help lulz
Develop games in your browser. Powerful, performant & highly capable.
tryng use instance variables on some of them.
for example if you wish 3of them stopping, giving at this 3 one instance variable, set it to a value, when you want to stop change the value then call the command if instance variable is X then stop.
NN81 Wait... wait... that's pretty hard to understand... can you make a simple capx??? Or try to explain with bullet number like:
1. Bla bla
2. Bla bla...
Im so sorry...
You can either pick the customer with the help of instance variables or simply make a trigger by the counter.
For example: customer on collision with counter --> stop
You can pick certain objects in a ton of ways. Read the manual about picking to learn more.
https://www.scirra.com/manual/131/common-conditions