how to create independent actors with same behavior

fotogeluid

  • Posts: 271
I am working on a strategy game. And i need to find the good way to do the following.

I have a worker that is walking over the screen to pick up food. I can easely created multiple workers but when one worker picks up food....all of them are picking up food. Also the ones that don't have food in front of them.....

I don't use game attributes so it looks like if one worker has collosion with the food...the collision is shared with the other workers???

Of course i can create multiple actors with all the same behavior and when creating i would create actor 1 then actor 2 then actor 3...but that sounds stupid

Any suggestions ???

fotogeluid

  • Posts: 271
You can delete.....stupid question. I was using wrong event type.

I was using type type collision and i should have used actor type event collision.

 :-X sorry