emptyPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Reset ArmA ver + fixed desc)
Line 4: Line 4:
| arma |= Game name
| arma |= Game name


|2.92|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the number of available cargo, driver, gunner or commander positions in the vehicle. |= Description
| Returns the number of given positions in the vehicle.
 
Positions can be ''"Commander", "Driver", "Gunner"'' or ''"Cargo"'' |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''emptyPositions''' position |= Syntax
| vehicle '''emptyPositions''' position |= Syntax


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


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


| [[Number]] |= Return value
| [[Number]] |= Return value

Revision as of 18:28, 4 October 2006

-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:
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