playableSlotsNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the number of available slots in mission per [[Side|side]] (both empty and taken). <br>In singleplayer mission, it returns number of playable units per side. |= Description
| Returns the number of available slots in mission per [[Side|side]] (both empty and taken). <br>In singleplayer mission, it returns number of playable units per side. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''playableSlotsNumber''' side |= Syntax
| '''playableSlotsNumber''' side |SYNTAX=


|p1= side: [[Side]]  |PARAMETER1=  
|p1= side: [[Side]]  |PARAMETER1=  

Revision as of 14:44, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns the number of available slots in mission per side (both empty and taken).
In singleplayer mission, it returns number of playable units per side.
Groups:
Uncategorised

Syntax

Syntax:
playableSlotsNumber side
Parameters:
side: Side
Return Value:
Number

Examples

Example 1:
_maxBluforPlayers = playableSlotsNumber blufor;

Additional Information

See also:
playableUnitsswitchableUnits

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