setVehicleArmor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETVEHICLEARMOR]]
[[Category:Scripting Commands ArmA|SETVEHICLEARMOR]]


<new command not populated>


<h2 style="color:#000066">'''''object'' setVehicleArmor ''value'''''</h2>


<h2 style="color:#000066">''''' setVehicleArmor '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''object:''' [[Object]]
 
'''value:''' [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.32 required.


'''Description:'''
'''Description:'''


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


'''Example:'''
'''Example:'''
player '''setVehicleArmor''' 0.5

Revision as of 17:36, 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