BIS fnc EXP camp initClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
Line 16: Line 16:
|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]]
}}
}}

Revision as of 20:03, 5 May 2022

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