Need To Seperate Actors - Just Can't Figure It Out
klickonn
Member Posts: 9
First off hi to everyone here, I am quite excited as I think I could make some ok games, I'm new to GS - as you will probably see from my question......
I made a simple scene with 2 actors (more will be added later), when an actor is clicked it is destroyed and points added to score.
So added a rule, put Destroy actor in it and Change Attribute - add to score etc.
All ok but when one actor is clicked both are destroyed and both sets of points are added to score. I'm sure it is something really simple but I just can't figure it out.
I made a simple scene with 2 actors (more will be added later), when an actor is clicked it is destroyed and points added to score.
So added a rule, put Destroy actor in it and Change Attribute - add to score etc.
All ok but when one actor is clicked both are destroyed and both sets of points are added to score. I'm sure it is something really simple but I just can't figure it out.
Comments
Hope this helped!
Welcome to the forums!
Just to make it clear what attributes each actor has:
Move To
Rule - Change Attribute when all conditions are valid (actor receives event touch is pressed) + Destroy this actor.
Collision attributes.
Thats it so far.
With each actor I was using one rule to add to score and destroy. I created seperate rules for these two and it works.
Not sure why this should be, is it a bug? Surely the point of a rule is multiple functions - otherwise why not just have an attribute?
Anyway its working now so time to move on to the next issue.......