Identifying how many actors are currently within a location
finz
Member Posts: 1
Can someone point me in the right direction.
I am trying to determine when a number of actors have been put together with another actor.... for example eggs collected and put into a basket... when meets a certain number in the basket the game finishes or something else happens. Or a number of actors stacked together on a table actor meets the requirement something happens.
I am trying to determine when a number of actors have been put together with another actor.... for example eggs collected and put into a basket... when meets a certain number in the basket the game finishes or something else happens. Or a number of actors stacked together on a table actor meets the requirement something happens.
Comments
so every time the egg collides or overlaps with basket, change attribute collectedeggs to collectedeggs +1, so have this value check with the target no. of eggs you should collect once it is equal to the no. then game finishes.