Colliding With All Objects In A Group To Earn Points

Discussion in 'Buildbox 3.0' started by JEO147, Aug 14, 2019.

  1. JEO147

    JEO147 Boxer

    Joined:
    Jul 31, 2017
    Messages:
    6
    Likes Received:
    2
    How can the player earn points contingent on the actor/character colliding with every objects in a group? I need it so that if the actor misses one of the objects in a group of objects, no points are earned.

    For example, there are 3 objects in a group-- object1, object2 and object3 that the actor must collide with (all 3) in order to earn +10 points (a bonus for hitting them all without missing any). Instead the actor collides with object1 and object3 but because it missed object2, no points are earned. How do I write this script? Where do i write it, in a new node within the actor asset or in an existing node?
     

Share This Page