Pick objects from collision

0 favourites
  • 2 posts
From the Asset Store
Pick Up Items Sound effects for your game, Take them for a ride right now and you will worry no more.
  • Is there a reliable way to pick the object (instance) that collided with another object (instance) of the same or different type?

    It seems sub events will pick the object which was hit by the first object. I would like a reliable way to pick the object that initiated the collision, which in this case would be a member of Staff_Sec

    Obviously the second sub event doesn't work.

    So here I'd like a way to pick the Staff_Sec instance that collided. Might be worth mentioning that this family also shares sprites with the family NPCS

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Give the object an Instance variable of Boolean called "Has_Collsion". Create a condition that sais to change the variable to true on collision.

    Add another condition that Staff_Secuity is "Has_Collision" is True

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)