{"name":"waterDamaged","operator":null,"title":"waterDamaged","type":"command","url":"https://community.bistudio.com/wiki/waterDamaged","revid":347219,"updated":"2023-09-05T16:49:02Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.14"}],"since":{"game":"arma3","name":"Arma 3","version":"2.14"},"arma3_since":"2.14","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Checks if the engine was water damaged. When a vehicle is Drowned, the engine gets water damaged and might need full repair either with setDamage or setHitPointDamage to be able to start.","syntaxes":[{"syntax":"waterDamaged object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if the engine was water damaged","text":"Boolean - true if the engine was water damaged"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}}],"examples":[{"text":"```sqf\nwaterDamaged tank1;\n```","code":["waterDamaged tank1;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setDamage","damage","alive"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 2.14","Scripting Commands"]}