Arma 3 Scripting

BIS_fnc_EXP_camp_manager_onPlayerRegistered

  • Server only
  • Arma 3 v1.62

Function · Markdown · JSON · original wiki page

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. Called on a client, the function shows an error and does nothing.

The function is meant for internal use. Clients call it on the server with remoteExecCall from the campaign's state scripts, with these lists:

Syntax

[player, listName] call BIS_fnc_EXP_camp_manager_onPlayerRegistered

Parameters:

Returns: Nothing

Examples

Example 1

[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