I have these problems with this air-hud script:
1. The huds and airsystem only works one time..
2. When I get up to surfice I only get back "one-hud" the stop, not ten huds as I shourld...
3. When I get back into the water the oxygen meter dosnt work at all?! And I can be under water as long as I wish. (Thats not what I want)
Here is the loooong script:
;Artificial Intelligence Script
;Header By Tax78
desc = barra aria + bombola ossigeno + no arma + morte graduale + mani
;Triggers
;-------------------SET VARIABLE----------------------------------------------------------------------------------------------------------------------------
:state=0:dimvar=watersystem
:state=0:setvar=watersystem 0
:always:globalvar=watersystem
;--------------------SET HUDS-------------------------------------------------------------------------------------------------------------------------------
;Air
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria.png,hudname=aria,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria01.png,hudname=aria1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria02.png,hudname=aria2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria03.png,hudname=aria3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria04.png,hudname=aria4,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria05.png,hudname=aria5,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria06.png,hudname=aria6,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria07.png,hudname=aria7,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria08.png,hudname=aria8,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria09.png,hudname=aria9,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria10.png,hudname=aria10,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria11.png,hudname=aria11,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria12.png,hudname=aria12,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria13.png,hudname=aria13,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria14.png,hudname=aria14,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria15.png,hudname=aria15,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria16.png,hudname=aria16,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria17.png,hudname=aria17,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\barra aria18.png,hudname=aria18,hudhide=1,hudmake=display
;Oxygen
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen.png,hudname=Oxygen,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen1.png,hudname=Oxygen1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen2.png,hudname=Oxygen2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen3.png,hudname=Oxygen3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen4.png,hudname=Oxygen4,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen5.png,hudname=Oxygen5,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen6.png,hudname=Oxygen6,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen7.png,hudname=Oxygen7,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen8.png,hudname=Oxygen8,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen9.png,hudname=Oxygen9,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen10.png,hudname=Oxygen10,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen11.png,hudname=Oxygen11,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen12.png,hudname=Oxygen12,hudhide=1,hudmake=display
:state=0:hudreset,hudx=30,hudy=20,hudimage=languagebank\english\gamecore\huds\Tax\barra aria\Oxygen13.png,hudname=Oxygen13,hudhide=1,hudmake=display
;---------------------NO SELECT SLOT 9 (Hands)----------------------------------------------------------------------------------------------------------
;---------------------SLOT VAR for return weapon----------------------------------------------------------------------------------------------------------
;---------------------SET WATER--------------------------------------------------------------------------------------------------------------------------------
:state=0:water=1,waterfogdist=500,waterfogred=50,waterfoggreen=50,waterfogblue=100,waterred=50,watergreen=50,waterblue=100,waterheightofzone=170,state=10
;---------------------SHOW HUDS--------------------------------------------------------------------------------------------------------------------------------
;Oxygen
:varless=watersystem -14:setvar=watersystem -14,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -14:hudshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -13:hudshow=Oxygen1,hudunshow=Oxygen,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -12:hudshow=Oxygen2,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -11:hudshow=Oxygen3,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -10:hudshow=Oxygen4,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -9:hudshow=Oxygen5,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -8:hudshow=Oxygen6,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -7:hudshow=Oxygen7,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -6:hudshow=Oxygen8,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -5:hudshow=Oxygen9,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -4:hudshow=Oxygen10,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -3:hudshow=Oxygen11,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem -2:hudshow=Oxygen12,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen13
:varequal=watersystem -1:hudshow=Oxygen13,hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12
:vargreater=watersystem -1:hudunshow=Oxygen,hudunshow=Oxygen1,hudunshow=Oxygen2,hudunshow=Oxygen3,hudunshow=Oxygen4,hudunshow=Oxygen5,hudunshow=Oxygen6,hudunshow=Oxygen7,hudunshow=Oxygen8,hudunshow=Oxygen9,hudunshow=Oxygen10,hudunshow=Oxygen11,hudunshow=Oxygen12,hudunshow=Oxygen13
:varequal=watersystem 0:hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varless=watersystem 0:hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
;Air
:varequal=watersystem 1:hudshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 2:hudshow=aria1,hudunshow=aria,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 3:hudshow=aria2,hudunshow=aria,hudunshow=aria1,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 4:hudshow=aria3,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 5:hudshow=aria4,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 6:hudshow=aria5,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 7:hudshow=aria6,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 8:hudshow=aria7,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 9:hudshow=aria8,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 10:hudshow=aria9,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 11:hudshow=aria10,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 12:hudshow=aria11,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 13:hudshow=aria12,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 14:hudshow=aria13,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 15:hudshow=aria14,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 16:hudshow=aria15,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria16,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 17:hudshow=aria16,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria17,hudunshow=aria18
:varequal=watersystem 18:hudshow=aria17,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria18
:varequal=watersystem 19:hudshow=aria18,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17
:varequal=watersystem 20:hudunshow=aria18,hudunshow=aria,hudunshow=aria1,hudunshow=aria2,hudunshow=aria3,hudunshow=aria4,hudunshow=aria5,hudunshow=aria6,hudunshow=aria7,hudunshow=aria8,hudunshow=aria9,hudunshow=aria10,hudunshow=aria11,hudunshow=aria12,hudunshow=aria13,hudunshow=aria14,hudunshow=aria15,hudunshow=aria16,hudunshow=aria17
;-----------------------UNDERWATER SYSTEM-------------------------------------------------------
;IMMERSION
:plrunderwater=1:camfov=-20
:state=10,plrunderwater=1:addvar=watersystem 1,etimerstart,fog=1,state=11
;EXIT WATER AIR
:state=12,vargreater=watersystem 0:subvar=watersystem 1,etimerstart,camfov=0,fog=0,state=15
;EXIT WATER OXYGEN
:state=12,varless=watersystem 0:camfov=0,fog=0,state=16
:state=12,plralive=0:camfov=0,fog=0,state=52
;underwater timer
:state=11,plrunderwater=0,etimergreater=500:state=12
:state=11,plrunderwater=1,etimergreater=1000:addvar=watersystem 1,etimerstart,state=11
:state=11,plrunderwater=1,varequal=watersystem 20:etimerstart,state=50
:state=11,plrunderwater=1,varequal=watersystem 0:etimerstart,state=14
:state=11,plrunderwater=0,varless=watersystem 0:state=12
:state=11,plralive=0:camfov=0,fog=0,state=52
;reset air
:state=13,plrunderwater=0,etimergreater=500:subvar=watersystem 1,etimerstart,state=13
:state=13,plrunderwater=0,varequal=watersystem 0:state=10
:state=13,plrunderwater=0,varless=watersystem 0:state=10
:state=13,plrunderwater=1:state=10
:state=13,plralive=0:camfov=0,fog=0,state=52
;underwater start timer
:state=14,plrunderwater=1,timergreater=100:addvar=watersystem 1,etimerstart,state=11
:state=14,plrunderwater=0:state=12
:state=14,plralive=0:camfov=0,fog=0,state=52
;-------------exit air select weapon slot-------------------------------------------------
;Air end
:state=50,plrunderwater=0,etimergreater=500:state=12
:state=50,plrunderwater=1,varless=watersystem 19:etimerstart,state=11
:state=50,plrunderwater=1,etimergreater=1000:plrsubhealth=10,state=51
:state=50,plrunderwater=1,plralive=0:camfov=0,fog=0,state=52
:state=50,plralive=0:camfov=0,fog=0,state=52
:state=51,plrunderwater=1:etimerstart,state=50
:state=51,plrunderwater=0:state=12
:state=51,plrunderwater=1,varless=watersystem 19:etimerstart,state=11
:state=51,plralive=0:camfov=0,fog=0,state=52
:state=52:state=0