Difference between revisions of "SafeStart"

From cluster wiki
Jump to navigation Jump to search
Line 18: Line 18:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt>
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;">
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;">
Gameplay Utility Functions: Eric's Mission Framework
Gameplay: Eric's Mission Framework
</div></dd>
</div></dd>
  </dl>  
  </dl>  
Line 65: Line 65:
<div style="display:block;">[[repairRearmTrigger]]</div>
<div style="display:block;">[[repairRearmTrigger]]</div>
<div style="display:block;">[[rallyPoint]]</div>
<div style="display:block;">[[rallyPoint]]</div>
<div style="display:block;">[[setRole]]</div>
<div style="display:block;">[[slingPrimary]]</div>
<div style="display:block;">[[slingPrimary]]</div>
<div style="display:block;">[[tracers]]</div>
<div style="display:block;">[[tracers]]</div>

Revision as of 13:27, 26 March 2022

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: Eric's Mission Framework

Syntax
Syntax:

[] call emf_gameplay_fnc_safeStart

Parameters:

None

Return Value:

Boolean - Returns true on success.

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


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