Boolean to destory actor

bladeolsonbladeolson Member Posts: 295
edited November -1 in Working with GS (Mac)
I have set a boolean for each actor I call "existence" , my idea is to have existence change to false when I want the actor to disappear. The only problem I am having is when I use a "change attribute", I can only change an attribute for the current actor "self". I was to make it when something happens to one actor, it triggers the existence to be false for another actor and "destory". How do I access the variables for other actors?

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    if you have created GAME attributes called existence 1, existence 2, etc. you can access them in any actor. Then in each actor you create a rule (if existence 1 is true, destroy this actor)
Sign In or Register to comment.