emptyPositions: Difference between revisions

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


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


|p1= vehicle: [[Object]] |= Parameter 1
|p1=[[Object#Vehicle|Vehcile]] |= Parameter 1


|p2= position: [[String]] |= Parameter 2
|p2= position: [[String]] |= Parameter 2

Revision as of 10:02, 27 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:
Vehcile
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