waterDamaged

From Bohemia Interactive Community
Revision as of 16:46, 12 February 2023 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.14 |branch= dev |arg= local |gr1= Object Manipulation |descr= Checks if the engine was water damaged. When a vehicle is Arma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.14.

Description

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.
Groups:
Object Manipulation

Syntax

Syntax:
waterDamaged object
Parameters:
object: Object
Return Value:
Boolean - true if the engine was water damaged

Examples

Example 1:
waterDamaged tank1;

Additional Information

See also:
setDamage damage alive

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note