Overlaps or collide count

fZoleefZolee Member, PRO Posts: 34

I would like some help as I'm having some trouble counting the number of the same actors overlapping each other.
The middle actor should have displaying "2" but I guess something is wrong with my logic.
Can anyone help me out please?

Thanks
Z

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Here's the tricky part about rules in GameSalad: once a rule condition is true, that rule starts to trigger (run) and doesn't trigger again until that rule condition has become false and then true again. So the instant the actor collides with another actor, it increases the count by 1 and then the rule is done. The actor would have to stop colliding with any other actors before the rule would trigger again.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • fZoleefZolee Member, PRO Posts: 34

    @tatiang,
    Thank you, I knew it won't be that simple. :# I will try to work around it keeping in mind what you said.

Sign In or Register to comment.