setVehicleArmor: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
|arg= local |= | |arg= local |Multiplayer Arguments= | ||
|eff= global |= | |eff= global |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:14, 5 August 2019
Description
- Description:
- Sets the armor (or health for men) state of the vehicle (a value from 0 to 1). Works like setDamage only in reverse: player setVehicleArmor 1 is the same as player setDamage 0, and player setVehicleArmor 0 is the same as player setDamage 0.97
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicleName setVehicleArmor value
- Parameters:
- vehicleName: Object
- value: Number range 0 to 1
- Return Value:
- Nothing
Examples
- Example 1:
player setVehicleArmor 0.5;
Additional Information
- See also:
- setDamage
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters