Im using GMS 1.4 and i need to the level music mute when the temporary invincibility is playing and for some reason the mute isnt working.
I made this in the audio object:
if instance_exists(objPlayer){
if objPlayer.invincibility=1
FMODGMS_Chan_Set_Mute(0,true)
else if objPlayer.invincibility=0 || objPlayer.invincibility=3
FMODGMS_Chan_Set_Mute(0,false)
}
Im using GMS 1.4 and i need to the level music mute when the temporary invincibility is playing and for some reason the mute isnt working. I made this in the audio object:
if instance_exists(objPlayer){ if objPlayer.invincibility=1 FMODGMS_Chan_Set_Mute(0,true) else if objPlayer.invincibility=0 || objPlayer.invincibility=3 FMODGMS_Chan_Set_Mute(0,false) }