emptyPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_freePositions = ([[vehicle]] [[player]]) emptyPositions "cargo"</pre> |= Example 1
|x1= <code>_freePositions <nowiki>=</nowiki> ([[vehicle]] [[player]]) emptyPositions "cargo"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:41, 4 August 2006

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

Description

Description:
Returns the number of available cargo, driver, gunner or commander positions in the vehicle.
Groups:
Uncategorised

Syntax

Syntax:
vehicle emptyPositions position
Parameters:
vehicle Object
position String
Return Value:
Number

Examples

Example 1:
_freePositions = (vehicle player) emptyPositions "cargo"

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