How to make another actor disappear when another actor collides with another actor.

Hi am trying to do as the above title says, but to put it simpler I will use 3 actors.

On one side of the screen I have got actor1 to collide with actor2 (what was easy to achieve). But what I would like to do is when this collision happens I want actor3 (who is no where near actor1 and actor2 on the screen) to disappear! How do I do this?

Sorry this sounds like a newb question...

Many thanks :-)

Comments

  • RPRP Member Posts: 1,990
    Create a rule/s that says when actors 1 and 2 colide is true = destroy actor 3/ or interpolate actor 3'a alpha to 0.

    I'm on the go right now, if you need more info on how to do this, I can dig some up later. (At airport).
  • Thanks for that.
    It is just where do I write that rule? I can't find the correct action/behaviour from the library list or hook up a rule from actor1 and actor2 to actor3.
    I can make a rule saying when actor1 and actor2 collide then collide/bounce. But I can't find a option anywhere to say when actor1 and actor2 collide then 'do a action/behaviour with actor3'
    As it were I don't know how to input actor 3 into the rule.
    Or from the other way round in actor3 to say when you see actor1 and actor2 collide- 'do a action/behaviour' and know which action/behaviour to choose.

    Many thanks for your help :-)
  • Ahhh figured it out by making a boolean attribute in the scene, then saying when the two actors collided, change the scene attribute to true. Then in actor 3 made a rule saying if attribute equals true then disappear. I am guessing this is what you were trying to say? Thank you for your help anyway :-)
  • RPRP Member Posts: 1,990
    Yes, sorry I left out the attribute placement aspect. Looks like you are in business.
Sign In or Register to comment.