Page MenuHomeFeedback Tracker

useful Missing script command: GetAirRemaining
New, WishlistPublic

Description

we have a command to get the remaining oxygen on a soldier ( GetOxygenRemaining ), but there is none regarding the remaining air inside a vehicle or sealed room from its aircapacity config.

{F22030}

Details

Legacy ID
1438574902
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

If you are inside a submerged vehicle ( diving bell or submarine ...) that have a certain amount of air (cf:aircapacity config number) you will die unable to monitor the level of remaining air inside the vehicle when underwater.

Additional Information

not a bug, but regarding underwater into the game, we need a command to monitor remaining breathing time inside a vehicle other than to have to build up timers and check if submerged or not to countdown remaining breathing time.
a command like for example:" GetAirRemaining " could allow us to have
instruments inside submarines, or scripted alarms on oxygen level

Event Timeline

theocramweb edited Additional Information. (Show Details)
theocramweb set Category to Scripting.
theocramweb set Reproducibility to Always.
theocramweb set Severity to None.
theocramweb set Resolution to Open.
theocramweb set Legacy ID to 1438574902.May 7 2016, 4:39 PM

Nearly a year waiting for this, please ...
there is other bugs regarding oxygen as well when entering back into a submarine after a dive, it does not take in count the air inside the vehicle anymore, but stay stuck onto the oxygen level of the diving bottles, even when taken off.
But please, common, the game do count down the decay of the oxygen level inside vehicle, give us a command so we can go forward !!

You do realise that sub's interior is filled with water when you submerged, right?

hey , Hi Killzone. Funny you reply here because I always wanted to ask you for some help about this on your website ;P

And nope, the sub is not filled with water, like the in game one is.

Mine is not flooded and I can stay as long as I want underwater without any breather ( dependently of the amount of air I decide sub can hold).
And once the air capacity of the sub is fully decayed I obviously die (unless you surface again, which will instant refill the sub with air again ).

So this is my point for the command I am asking; The game does decay at about 0.01 per sec the amount of air inside a sealed room or sub, but we have no script command to return its level to us (to make an instrument or set an alarm for example).

If you are asking for a command that is so specific that it can only be used with your addon, then fine, but you are out of luck on this one, as it would probably get the lowest priority, unless BIS add such sub themselves.

not at all, GetRemainingOxygen is for all waterbottles, and what I am asking for is GetRemainingAir which will be for any vehicle going underwater.
nothing specific with my addon.

I don't know how to explain this with my bad English.
the sub given by Bis is flooded with water and you need a breather. the game let you do it non flooded, like a diving bell or a submarine.
we just miss a command to return the remaining Air.

as simple as that.
But I Guess you are right, I am out of luck here, we can forget the sea part of the game, unless we flood everything and use oxygen bottles in all submarines ...