waterDamaged

From Bohemia Interactive Community
Revision as of 18:49, 5 September 2023 by Lou Montana (talk | contribs) (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

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