{"name":"BIS_fnc_EXP_camp_manager_onPlayerRegistered","title":"BIS fnc EXP camp manager onPlayerRegistered","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_EXP_camp_manager_onPlayerRegistered","revid":379565,"updated":"2026-10-31T13:55:08Z","groups":["CampaignManager"],"status":"ok","games":{"arma3":"1.62"},"since":"arma3 1.62","arma3_since":"1.62","locality":{"server_exec":true},"description":"Registers a player as having finished a phase of the Apex campaign mission start (see BIS_fnc_EXP_camp_manager): the player is added (once) to the array stored in the server's missionNamespace variable *listName*. The array is not broadcast. Nothing is added if *player* is objNull.\nCalled on a client, the function shows an error and does nothing.\n\nThe function is meant for internal use. Clients call it on the server with remoteExecCall from the campaign's state scripts, with these lists:\n\n- `\"BIS_coop_campaign_ss_preloadPlayers\"` - the player has finished preloading; the manager waits for this list in the `\"Waiting\"` state\n- `\"BIS_coop_campaign_ss_introPlayers\"` - the player has finished watching the intro videos\n- `\"BIS_coop_campaign_ss_loadoutPlayers\"` - the player has respawned during the loadout selection; the manager waits for this list in the `\"Loadout\"` state","syntaxes":[{"syntax":"[player, listName] call BIS_fnc_EXP_camp_manager_onPlayerRegistered","params":[{"name":"player","type":"Object","optional":true,"default":"objNull","description":"the player to register","type_expr":"Object","text":"player: Object - (Optional, default objNull) the player to register"},{"name":"listName","type":"String","optional":true,"default":"\"\"","description":"name of the missionNamespace variable holding the list of registered players","type_expr":"String","text":"listName: String - (Optional, default \"\") name of the missionNamespace variable holding the list of registered players"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[player, \"BIS_coop_campaign_ss_loadoutPlayers\"] remoteExecCall [\"BIS_fnc_EXP_camp_manager_onPlayerRegistered\", 2];"]}],"see_also":["BIS_fnc_EXP_camp_manager","BIS_fnc_EXP_camp_manager_setState","BIS_fnc_EXP_camp_manager_triggerEvent"]}