I am trying to add a script that toggles environment/ambient sounds on/off and, another that toggles grass on/off, to thedukes custom GUI menu:
I managed to get 2 different scripts to work for toggling grass on/off, but I'd like it to be in a single script so it's only 1 button on the menu, instead of 2.
so now I just have 2 buttons. 1 that sets terrain grid to 50, and the other to 25. I'm not even sure if that's how an if else is supposed to look, since I haven't done sql before.
I've had no luck in figuring out how to enable/disable ambient sounds.
Question
potatochimp
I am trying to add a script that toggles environment/ambient sounds on/off and, another that toggles grass on/off, to thedukes custom GUI menu:
I managed to get 2 different scripts to work for toggling grass on/off, but I'd like it to be in a single script so it's only 1 button on the menu, instead of 2.
I've tried this, but with no success:
so now I just have 2 buttons. 1 that sets terrain grid to 50, and the other to 25. I'm not even sure if that's how an if else is supposed to look, since I haven't done sql before.
I've had no luck in figuring out how to enable/disable ambient sounds.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now