If actor "x" is destroyed then actor "y" is destroyed as well
lowski
Member Posts: 25
How do I do this?
Step by step please, I am a noob
Step by step please, I am a noob
Comments
Create a global game attribute: Call it ActorXDestroyed, set by default to false
Within Actor X, Create a Rule that states when the actor is destroyed:
ie: Rule: When actor overlaps with enemy:
Change attribute ActorXDestroyed to true
Timer: After 0.1 seconds: Destroy this actor
Then in Actor Y Create a rule that says:
When game.ActorXDestroyed is true:
Destroy this actor
Hope this helps!
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
The Rules and behaviors of an instance only apply to that instance.
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Thanks for the other clarifications as well
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Thanks, Nawee