BIS fnc EXP camp initClasses: Difference between revisions

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


| arma3 |Game name=
|game1= arma3
|version1= 1.62


|1.62|Game version=
|gr1= Campaign


<!---|arg= local |Multiplayer Arguments=--->
|descr= Initializes the classes players can choose from before spawning.


<!---|eff= local |Multiplayer Effects=--->
|serverExec= server


| <pre>/*
|s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]]
Author: Thomas Ryan


Description:
|p1= mode: [[String]] - (Optional, default "DAY") can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)
Initializes the classes players can choose from before spawning.
Must only be executed on the server.


Parameters:
|r1= [[Boolean]] - returns [[true]] if successful, [[false]] if not
_this (Optional): STRING - Can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)


Returns:
|x1= <sqf>["NIGHT"] call BIS_fnc_EXP_camp_initClasses;</sqf>
True if successful, false if not.
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=


|[] call [[BIS_fnc_EXP_camp_initClasses]]|Syntax=
|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
 
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Campaign|{{uc:EXP_camp_initClasses}}]]
[[Category:Functions|{{uc:EXP_camp_initClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:EXP_camp_initClasses}}]]
[[Category:Placeholder function]]

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