BIS fnc EXP camp initClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (page filled)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(19 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


<!--|exec= server|=-->
|gr1= Campaign
 
<!--|arg= local-->
 
<!--|eff= local-->


|descr= Initializes the classes players can choose from before spawning.
|descr= Initializes the classes players can choose from before spawning.


|mp= Must only be executed on the server.
|serverExec= server
 
||s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]]|=Syntax


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


|r1= [[Boolean]] - Returns [[true]] if successful, [[false]] if not
|p1= mode: [[String]] - (Optional, default "DAY") can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)


|x1= <code>["NIGHT"] [[call]] [[BIS_fnc_EXP_camp_initClasses]];</code>
|r1= [[Boolean]] - returns [[true]] if successful, [[false]] if not


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


|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
}}
}}
[[Category:Function Group: Campaign|{{uc:EXP_camp_initClasses}}]]
[[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