waterDamaged: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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...")
 
m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.14
|branch= dev


|arg= local
|arg= global


|gr1= Object Manipulation
|gr1= Object Manipulation

Latest revision as of 18: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