setVehicleArmor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset ArmA version)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| object '''setVehicleArmor''' value |= Syntax
| [[Object]] '''setVehicleArmor''' factor|= Syntax


|p1= object: [[Object]] |= Parameter 1
|p1= [[Object]] |= Parameter 1


|p2= value: [[Number]] |= Parameter 2
|p2= factor: [[Number]] range 0 to 1 |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 12:19, 31 August 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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

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

See also:
See also needed

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