Difference between revisions of "cmf main fnc serverInit"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This script handles pre-init components for CMF. It is a CMF internal script. |exec=Call |cm...")
 
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


|descr=This script handles pre-init components for CMF. It is a CMF internal script.
|descr=This script handles pre-init components for CMF. It is a CMF internal script.
{{CMF Feature|IMPORTANT|This is an internal engine script. Do not call this script under any circumstances, it will definetly break CMF3}}


|exec=Call
|exec=Call
Line 16: Line 17:


|r1=None
|r1=None
|seealso= [[cmf_main_fnc_addonBlacklist]] [[cmf_main_fnc_localize]] [[cmf_main_fnc_missionInit]]
[[cmf_main_fnc_playerInit]]


|var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that is true when CMF has finished initializing on the server
|var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that is true when CMF has finished initializing on the server
|var2= {{!}} LOCAL {{!}}{{!}} Unit {{!}}{{!}} cmf_main_version {{!}}{{!}} A [https://community.bistudio.com/wiki/String String] variable containing the CMF version number
|var2= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_version {{!}}{{!}} A [https://community.bistudio.com/wiki/String String] variable containing the CMF version number


|event1= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} [ ] {{!}}{{!}} Is raised when the server has been initialized with CMF
|event1= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} [ ] {{!}}{{!}} Is raised when the server has been initialized with CMF
|event2= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_onPlayerConnected {{!}}{{!}} [id, uid, name, JIP, Owner, idStr] {{!}}{{!}} Is raised when the server detects a new player
|event2= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_onPlayerConnected {{!}}{{!}} [id, uid, name, JIP, Owner, idStr] {{!}}{{!}} Is raised when the server detects a new player
}}
}}

Latest revision as of 21:59, 17 December 2022


Hover & click on the images for description
Description
Description:
This script handles pre-init components for CMF. It is a CMF internal script.
This is an internal engine script. Do not call this script under any circumstances, it will definetly break CMF3
Execution:
Call
Groups:
CMF3: main
Syntax
Syntax:
None
Return Value:
None
Examples
Examples:
Example Needed
Additional Information
See also:
cmf_main_fnc_addonBlacklist cmf_main_fnc_localize cmf_main_fnc_missionInit cmf_main_fnc_playerInit
Internal Variables
Locality Namespace Name Description
GLOBAL Mission cmf_main_server_initialized A Boolean variable that is true when CMF has finished initializing on the server
GLOBAL Mission cmf_main_version A String variable containing the CMF version number
Events
Locality Name Variables Description
GLOBAL cmf_main_server_initialized [ ] Is raised when the server has been initialized with CMF
GLOBAL cmf_main_server_onPlayerConnected [id, uid, name, JIP, Owner, idStr] Is raised when the server detects a new player
Notes