waterDamaged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
 
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.14
|branch= dev


|arg= global
|arg= global

Latest revision as of 17:49, 5 September 2023

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