Multiplayer
17 functions. Also as Markdown for agents.
- BIS_fnc_addScoreAdds a set amount of points to the score of a unit *(MP only)*
- BIS_fnc_adminReturns the admin state of a client the function is called on. Complements admin script command and used for self check on a local client.
- BIS_fnc_didJIPReturn whether or not the local player joined the game while it was already in progress.
- BIS_fnc_endMissionServerEnds the mission properly for all players in a multiplayer environment.
- BIS_fnc_estimatedTimeLeftSet mission countdown.
- BIS_fnc_execRemoteThis function is now an alias to BIS_fnc_MP.
- BIS_fnc_getNetModeReturns the current net mode as a string.
- BIS_fnc_getUnitByUIDReturns player-controlled unit (if any) according to the provided player UID.
- BIS_fnc_groupFromNetIdExtends MP-only groupFromNetId functionality to SP
- BIS_fnc_initMultiplayerMultiplayer mission init, executed automatically upon mission start.
- BIS_fnc_initPlayable*N/A*
- BIS_fnc_listPlayersReturns a list of *currently played* units, alive or dead.
- BIS_fnc_MPSend function for remote execution (and executes locally if conditions are met).
- BIS_fnc_MPexecExecute received remote execution. This function is used by BIS_fnc_MP and should not be called directly.
- BIS_fnc_netIdExtends MP-only netId functionality to SP
- BIS_fnc_objectFromNetIdExtends MP-only objectFromNetId functionality to SP
- BIS_fnc_onPlayerConnectedExecutes a function on server every time a player connects the mission.