Destroy an actor permanently from the scene.

appleshowyouappleshowyou Member Posts: 31
edited November -1 in Working with GS (Mac)
Hey there, I am working on a little store app right now. Everything is going good but I ran into a problem. I set up all the attributes and what not so it checks if the player has enough money and if so the item is destroyed from the store using the "destroy actor" behavior. However, after it is destroy, if I change scenes and then come back to the scene... it is there again?

So I tried setting it like this: ItemIsAvailable: "True"

When ItemIsAvailable: "false" "Destroy this actor"

This works, however when I change scenes and come back to the "store scene" The item shows up for about 0.2 seconds and then disappears.

How can I destroy it Permanently?

Comments

  • iTouchGameriTouchGamer Member Posts: 681
    Well, to make it look believable, you could change the alpha to 0 for those .2 seconds.
  • appleshowyouappleshowyou Member Posts: 31
    iTouchGamer said:
    Well, to make it look believable, you could change the alpha to 0 for those .2 seconds.

    Great Idea!

    That will work for now... But if there was a way to delete it permanently... wouldn't that saving me some ram usage?
Sign In or Register to comment.