Boolean does not seam to go back to true.

daydream13daydream13 Member Posts: 7
edited April 2012 in Working with GS (Mac)
Hi, I am working on a game where an actor has to take multiple hits before it is destroyed. I have the same actor copied in the game and once you start to attack one all others can not take hits until the one you are currently attacking is destroyed. I am using a boolean attribute in the game to Change Attribute to true after the actor is destroyed. It all works accept this one boolean... that is to say that after I destroy my first actor I can not land any hits on the other actors. I have it in the same Rule with Destroy this actor. What am I missing? Any feed back would be welcomed. Thanks.

Answers

  • aarioaario Member, PRO Posts: 256
    edited April 2012
    is the change attribute behaviour after the destroy actor behaviour in the rule? If so just make sure the destroy actor is last in the rule and that should fix it up.
  • FloridaGamesFloridaGames Member Posts: 328
    edited April 2012
    Put the change attribute action BEFORE the destroy actor action. otherwise it is destroyed before it changes your boolean.
    Edit: aario beat me to it...
Sign In or Register to comment.