Hi, I'm using this great free gasmask pack and all works fine .. only issue is that after I use the gasmask the ambient light of my level dont return to its initial state
e.g if my ambicne level is set to "0" after i use the gasmask the ambient become lighter even if the value continue to remain setted to "0" in my level
this is the script pack link thread
https://forum.thegamecreators.com/thread/196008
and this is the gasmask_main script
;Artificial Intelligence Script
;Header
desc = Gasmask Main (to be assigned to a trigger zone at level start)
;Triggers
:state=0:dimvar=wear_goggles,setvar=wear_goggles 0,hudreset,hudx=50,hudy=50,hudimagefine=gamecore\user\gasmask_hud.tga,hudname=goggles,hudhide=1,hudmake=display,state=1
:state=1,varequal=has_goggles 1,scancodekeypressed=34:ambience=95,ambience=95,ambiencered=5,ambienceblue=5,ambiencegreen=5,hudshow=goggles,loopsound=audiobank\user\gasmask_breathing.ogg,setposteffect=gasmask,setvar=wear_goggles 1,state=2
:state=2,scancodekeypressed=0:state=3
:state=3,scancodekeypressed=34:hudunshow=goggles,stopsound,setposteffect=bloom,setvar=wear_goggles 0,state=4
:state=4,scancodekeypressed=0:state=1
;End of Script
i think a "reset ambient" effect must be added to the "state=3" line of code but dot know how to accomplish that...
any help is appreciated..