BIS fnc EXP camp initClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (page filled)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
|game1= arma3


|1.62|Game version=
|version1= 1.62


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
<!--|arg= local-->


| <pre>/*
<!--|eff= local-->
Author: Thomas Ryan


Description:
|descr= Initializes the classes players can choose from before spawning.
Initializes the classes players can choose from before spawning.
Must only be executed on the server.


Parameters:
|mp= Must only be executed on the server.
_this (Optional): STRING - Can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)


Returns:
||s1= [mode] call [[BIS_fnc_EXP_camp_initClasses]]|=Syntax
True if successful, false if not.
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] 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)


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|r1= [[Boolean]] - Returns [[true]] if successful, [[false]] if not


|Datatype - description|Return value=
|x1= <code>["NIGHT"] [[call]] [[BIS_fnc_EXP_camp_initClasses]];</code>


|x1= <code></code>|Example 1=
|exec= call


|exec= call |Execution=
|seealso= [[BIS_fnc_EXP_camp_initCharacter]]


| |See also=
}}
}}



Revision as of 23:21, 13 January 2020

Hover & click on the images for description

Description

Description:
Initializes the classes players can choose from before spawning.
Execution:
call
Multiplayer:
Must only be executed on the server.
Groups:
Uncategorised

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