actor not working properly

diegocsdiegocs Member Posts: 531
edited November -1 in Working with GS (Mac)
i have my reset button which when pressed it is supposed to reset the music and sound fx attributes back to 100, but it only changes 1 of the attributes (music) and only 1 ( so when i press it again it doen't work.

i have it set up likes this :

-when game scene = 4
--when actor recieves touch is pressed
---change attribute (music) to 100
---change attribute (sound fx) to 100

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi diegocs, are these attributes for the music and sound fx volumes or for something else?

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • diegocsdiegocs Member Posts: 531
    yes for those ( i have also set up a music volume slider and sound fx slider that control this atttributes)
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    OK, if you want to reset them back to 100% volume, try:

    -when game scene = 4
    --when actor recieves touch is pressed
    Change Attribute game.Audio --via "Devices" -- Music Volume to 1
    Change Attribute game.Audio --via "Devices" -- Sound Volume to 1

    Hope that helps.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • diegocsdiegocs Member Posts: 531
    isn't that similar to what i have? i 'll try it anyway though thanks!
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Certainly is similar! (Except you're putting 100, instead of 1 ;-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.