setRepairCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
|p1= [[Object#Vehicle|Vehicle]]: (([[Object]]) |= Parameter 1
|p1= [[Object#Vehicle|Vehicle]]: (([[Object]]) |= Parameter 1


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>repairTruck1 setRepairCargo 0</pre> |= Example 1
|x1= <pre>_repairTruck1 setRepairCargo 0</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:10, 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