destroy

MERMMERM Member Posts: 194
edited November -1 in Working with GS (Mac)
what i have is a game menu that when you click the actor "options" another options actor that is the actual menu is spawned. what i need to do is have an arrow that when clicked, destroys the menu. i don't want to reset scene because then it would just undo the sound/color options. what should i do? should i make another scene just for options or is there a way to put in a destroy actor _______? Thanks!

Comments

  • AsymptoteellAsymptoteell Member Posts: 1,362
    When the destroy button is pressed, change a game attribute to 1. Then, in the menu's rules, when that attribute is 1, change it back to 0 and destroy the menu.

    Asymptoteell
  • MERMMERM Member Posts: 194
    i have four actors that i need to destroy now, should i change the attributes to different numbers? otherwise the menu dissappears and the buttons remain...
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I would set them all to change size and position in the scene you are going to kill performance if you keep destroying and spawning a menu
  • MERMMERM Member Posts: 194
    never mind all i just removed the options menu and readded the commands to the main menu :)
Sign In or Register to comment.