Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Altait

Pages: 1
1
Ask a Question / Help to volume button
« on: April 21, 2015, 12:24:42 pm »
Hi all
First of all i want to say thath this is my first projet, so excuse me if i ask noob question.

I put a background music and i want a button to set on or off the volume. i was thinking something like thath:

when click on the actor
-get actual volume
-if it is 100%
--set it to 0%
-if it is 0%
--set it to 0%

i can't find a way to get the actual volume...
i was thinking thath when i open the game i set a variable with the value of 100% and in the code above i read this variable...

Pages: 1