Difference between revisions of "SafeStart"
Jump to navigation
Jump to search
(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...") |
|||
(3 intermediate revisions by the same user not shown) | |||
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 | Gameplay: Eric's Mission Framework | ||
</div></dd> | </div></dd> | ||
</dl> | </dl> | ||
Line 28: | Line 28: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Syntax:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Syntax:</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;"> | ||
call '''emf_gameplay_fnc_safeStart''' | |||
</div></dd> | </div></dd> | ||
Line 50: | Line 50: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 1:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 1:</dt> | ||
<dd style="width:90%;padding:.3em .3em .3em 7em;"><code style="border:#25A1A1 dashed 1px;display:block;"> | <dd style="width:90%;padding:.3em .3em .3em 7em;"><code style="border:#25A1A1 dashed 1px;display:block;"> | ||
call ''' | call '''emf_gameplay_fnc_safeStart'''; | ||
</code></dd> | </code></dd> | ||
Line 62: | Line 62: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">See also:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">See also:</dt> | ||
<dd style="width:90%;padding:.3em .3em .3em 7em;column-count:4;"> | <dd style="width:90%;padding:.3em .3em .3em 7em;column-count:4;"> | ||
<div style="display:block;">[[ | <div style="display:block;">[[restrictedVehicle]]</div> | ||
<div style="display:block;">[[repairRearmTrigger]]</div> | |||
<div style="display:block;">[[rallyPoint]]</div> | |||
<div style="display:block;">[[setRole]]</div> | |||
<div style="display:block;">[[slingPrimary]]</div> | |||
<div style="display:block;">[[tracers]]</div> | |||
<div style="display:block;">[[unitInvestigate]]</div> | |||
</dd> | </dd> | ||
Line 72: | Line 78: | ||
*The variable to check if mission is live is located in missionNamespace under the name: "EMF_missionSafeStart" | *The variable to check if mission is live is located in missionNamespace under the name: "EMF_missionSafeStart" | ||
<!-- CATEGORIES --> | <!-- CATEGORIES --> | ||
[[Category:Gameplay | [[Category:Gameplay Functions: Eric's Mission Framework]] | ||
[[Category:Functions: Eric's Mission Framework]] | [[Category:Functions: Eric's Mission Framework]] |
Latest 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"