Difference between revisions of "cmf main fnc playerInit"

From cluster wiki
Jump to navigation Jump to search
 
Line 17: 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 23: 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