playableSlotsNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.06|= Game version ____________________...")
 
(formatting of description, added example, see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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. |= 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
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 20:24, 15 March 2014

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