setVehicleArmor
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).
Syntax
- Syntax:
- Object setVehicleArmor factor
- Parameters:
- Object
- factor: Number range 0 to 1
- Return Value:
- Nothing
Examples
- Example 1:
player setVehicleArmor 0.5
Additional Information
- Multiplayer:
- Behaviour unknown.

