Please help !
gwenofala
Member Posts: 2
Hello everyone I'm new here in this forum . First of all I was hooting and hollering when I figured out how to get a object and the name of the object to destroy at the same time . So I tried it with the second object and it didn't work ! The first time was a Bat Image actor and a Bat Text actor . Under the Bat Image actor I put Destroy with a rule when touch is pressed . Under the Bat Text actor I created a rule Attribute game.mouse.button is true . Then I added Destroy a Change Attribute to game.mouse.button to game.ActorTags.BatImage . It worked ! I clicked on the Bat Image and the Bat Text was destroyed at the same time ! So I'm happily adding another actor Popcorn Image and Popcorn Text did the same thing except changing the name of actor in the Change Attribute and it won't work ! What am I doing wrong ?
Answers
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮