BIS fnc EXP camp initClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |exec= call " to " ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


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


Line 11: 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>


|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
|seealso= [[BIS_fnc_EXP_camp_initCharacter]]
}}
}}

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