BIS fnc EXP camp initClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!--|eff= local-->" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.62
|version1= 1.62


|gr1 = Campaign
|gr1= Campaign
 
<!--|exec= server|=-->
 
 
 
 


|descr= Initializes the classes players can choose from before spawning.
|descr= Initializes the classes players can choose from before spawning.
Line 17: Line 10:
|serverExec= server
|serverExec= server


||s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]]|=Syntax
|s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]]


|p1= mode: [[String]] - (Optional, default "DAY") Can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)
|p1= mode: [[String]] - (Optional, default "DAY") can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)


|r1= [[Boolean]] - Returns [[true]] if successful, [[false]] if not
|r1= [[Boolean]] - returns [[true]] if successful, [[false]] if not


|x1= <code>["NIGHT"] [[call]] [[BIS_fnc_EXP_camp_initClasses]];</code>
|x1= <sqf>["NIGHT"] call BIS_fnc_EXP_camp_initClasses;</sqf>
 
|exec= call


|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
}}
}}
[[Category:Functions|{{uc:EXP_camp_initClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:EXP_camp_initClasses}}]]

Latest revision as of 15:47, 8 November 2023

Hover & click on the images for description

Description

Description:
Initializes the classes players can choose from before spawning.
Execution:
call
Groups:
Campaign

Syntax

Syntax:
[mode] call BIS_fnc_EXP_camp_initClasses
Parameters:
mode: String - (Optional, default "DAY") can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)
Return Value:
Boolean - returns true if successful, false if not

Examples

Example 1:
["NIGHT"] call BIS_fnc_EXP_camp_initClasses;

Additional Information

See also:
BIS_fnc_EXP_camp_initCharacter

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