setVehicleArmor

From Bohemia Interactive Community
Revision as of 22:38, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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