setVehicleArmor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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

Revision as of 21:56, 25 January 2009

-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:
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:
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