{"name":"getWaterLeakiness","operator":null,"title":"getWaterLeakiness","type":"command","url":"https://community.bistudio.com/wiki/getWaterLeakiness","revid":378411,"updated":"2026-04-04T08:32:46Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.16"}],"since":{"game":"arma3","name":"Arma 3","version":"2.16"},"arma3_since":"2.16","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Get an object's water intake ratio when immersed.","syntaxes":[{"syntax":"getWaterLeakiness obj","since":null,"effect":null,"exec":null,"params":[{"name":"obj","type":"Object","optional":false,"default":null,"description":"object to check","types":["Object"],"since":null,"text":"obj: Object - object to check"}],"returns":{"type":"Number in range 0..1","types":["Number"],"description":"0 is waterproof and 1 is full leak","text":"Number in range 0..1 - 0 is waterproof and 1 is full leak"},"form":"unary","operator":null,"left":null,"right":{"text":"obj","types":["Object"]}}],"examples":[{"text":"```sqf\nif (getWaterLeakiness _myCar > 0) then\n{\n    hint \"don't go in the water with it!\";\n};\n```","code":["if (getWaterLeakiness _myCar > 0) then\n{\n\thint \"don't go in the water with it!\";\n};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setWaterLeakiness","setWaterFillPercentage","getWaterFillPercentage"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 2.16","Scripting Commands"]}