BIS fnc EXP camp initClasses: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2") |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
|s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]] | |s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]] | ||
|p1= mode: [[String]] - (Optional, default "DAY") | |p1= mode: [[String]] - (Optional, default "DAY") can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs) | ||
|r1= [[Boolean]] - | |r1= [[Boolean]] - returns [[true]] if successful, [[false]] if not | ||
|x1= <sqf>["NIGHT"] call BIS_fnc_EXP_camp_initClasses;</sqf> | |x1= <sqf>["NIGHT"] call BIS_fnc_EXP_camp_initClasses;</sqf> |
Latest revision as of 15:47, 8 November 2023
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:
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