SafeStart

From cluster wiki
Revision as of 08:59, 16 June 2021 by Eric (talk | contribs) (Created page with "<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Description</div> <dl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
Description:

This function prevents players from shooting and killing each other upon mission start until zeus starts the game. It must be run server side (eg. from init.sqf).

Execution:

call

Groups:

Gameplay Utility Functions: Eric's Mission Framework

Syntax
Syntax:

[] call EMF_fnc_safeStart

Parameters:

None

Return Value:

Boolean - Returns true on success.

Examples
Example 1:
call EMF_fnc_safeStart;
Additional Information
See also:


Notes
  • The variable to check if mission is live is located in missionNamespace under the name: "EMF_missionSafeStart"