setVehicleArmor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 24: Line 24:


Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).  
Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).  


'''Example:'''
'''Example:'''


player '''setVehicleArmor''' 0.5
player '''setVehicleArmor''' 0.5

Revision as of 21:38, 4 July 2006


object setVehicleArmor value


Operand types:

object: Object

value: Number

Type of returned value:

Nothing

Compatibility:

Version 2.32 required.

Description:

Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).


Example:

player setVehicleArmor 0.5