Difference between revisions of "cmf main fnc playerInit"

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 post-init components for CMF for newly players (basically initPlayerLocal)...")
 
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


|descr=This script handles post-init components for CMF for newly players (basically initPlayerLocal). It is a CMF internal script.
|descr=This script handles post-init components for CMF for newly players (basically initPlayerLocal). 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_serverInit]]


|var1= {{!}} LOCAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_player_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that is true when CMF has finished initializing the player
|var1= {{!}} LOCAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_player_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that is true when CMF has finished initializing the player
Line 22: Line 26:
|var4= {{!}} LOCAL {{!}}{{!}} Unit {{!}}{{!}} cmf_main_player_team {{!}}{{!}} A [https://community.bistudio.com/wiki/String String] variable containing the the player's team before last death
|var4= {{!}} LOCAL {{!}}{{!}} Unit {{!}}{{!}} cmf_main_player_team {{!}}{{!}} A [https://community.bistudio.com/wiki/String String] variable containing the the player's team before last death


|event1= {{!}} GLOBAL {{!}}{{!}} cmf_main_player_initialized {{!}}{{!}} [ ] {{!}}{{!}} Is raised when the player has been initialized with CMF
|event1= {{!}} LOCAL {{!}}{{!}} cmf_main_player_initialized {{!}}{{!}} [ ] {{!}}{{!}} Is raised when the player has been initialized with CMF
}}
}}

Latest revision as of 21:58, 17 December 2022


Hover & click on the images for description
Description
Description:
This script handles post-init components for CMF for newly players (basically initPlayerLocal). 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_serverInit
Internal Variables
Locality Namespace Name Description
LOCAL Mission cmf_main_player_initialized A Boolean variable that is true when CMF has finished initializing the player
LOCAL Unit cmf_main_player_loadout An Array variable containing the player's loadout before last death
LOCAL Unit cmf_main_player_group A Group variable containing the player's group before last death
LOCAL Unit cmf_main_player_team A String variable containing the the player's team before last death
Events
Locality Name Variables Description
LOCAL cmf_main_player_initialized [ ] Is raised when the player has been initialized with CMF
Notes