setRepairCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 13: Line 13:
| [[Object#Vehicle|Vehicle]] '''setRepairCargo''' amount |= Syntax
| [[Object#Vehicle|Vehicle]] '''setRepairCargo''' amount |= Syntax


|p1= [[Object#Vehicle|Vehicle]]: (([[Object]]) |= Parameter 1
|p1= [[Object#Vehicle|Vehicle]]: ([[Object]]) |= Parameter 1


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

Revision as of 09:11, 31 August 2007

Hover & click on the images for description

Description

Description:
Set amount of repair resources in cargo space of repair vehicle. Amount 1 is full cargo.
Groups:
Uncategorised

Syntax

Syntax:
Vehicle setRepairCargo amount
Parameters:
Vehicle: (Object)
amount: Number range 0 to 1
Return Value:
Nothing

Examples

Example 1:
_repairTruck1 setRepairCargo 0

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