emptyPositions: Difference between revisions

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


| vehicle '''emptyPositions''' position |= Syntax
| [[Number]] <nowiki>=</nowiki> vehicle '''emptyPositions''' "position" |= Syntax


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

Revision as of 08:15, 26 August 2007

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

Description

Description:
Returns the number of given positions in the vehicle. Positions can be "Commander", "Driver", "Gunner" or "Cargo"
Groups:
Uncategorised

Syntax

Syntax:
Number = 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