playableSlotsNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting of description, added example, see also)
m (template:command argument fix)
Line 12: Line 12:
| '''playableSlotsNumber''' side |= Syntax
| '''playableSlotsNumber''' side |= Syntax


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


| [[Number]] |= RETURNVALUE
| [[Number]] |RETURNVALUE=  




|x1= <code>_maxBluforPlayers = [[playableSlotsNumber]] [[blufor]];</code>|= EXAMPLE1
|x1= <code>_maxBluforPlayers = [[playableSlotsNumber]] [[blufor]];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[playableUnits]], [[switchableUnits]] |= SEEALSO
| [[playableUnits]], [[switchableUnits]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:35, 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