Difference between revisions of "Tracers"
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;"> | ||
[unit, zeusSpawned, randomModel, flashlight, players] call ''' | [unit, zeusSpawned, randomModel, flashlight, players] call '''emf_gameplay_fnc_tracers''' | ||
</div></dd> | </div></dd> | ||
Line 70: | Line 70: | ||
<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;"> | ||
// Applies to all opfor units<br> | // Applies to all opfor units<br> | ||
[east] call ''' | [east] call '''emf_gameplay_fnc_tracers'''; | ||
</code></dd> | </code></dd> | ||
Line 77: | Line 77: | ||
<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;"> | ||
// Apply to all units and zeus spawned units but don't add flashlight<br> | // Apply to all units and zeus spawned units but don't add flashlight<br> | ||
[allUnits, true, false, false] call ''' | [allUnits, true, false, false] call '''emf_gameplay_fnc_tracers'''; | ||
</code></dd> | </code></dd> | ||
Line 89: | Line 89: | ||
<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;">[[safeStart]]</div> | |||
<div style="display:block;">[[setRole]]</div> | |||
<div style="display:block;">[[slingPrimary]]</div> | |||
<div style="display:block;">[[unitInvestigate]]</div> | |||
</dd> | </dd> | ||
Line 99: | Line 105: | ||
<!-- 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:28, 26 March 2022
Description
- Description:
This function adds tracers and/or flashlights to specified units. It must be run serverside (eg. from init.sqf).
- Execution:
call
- Groups:
Gameplay: Eric's Mission Framework
Syntax
- Syntax:
[unit, zeusSpawned, randomModel, flashlight, players] call emf_gameplay_fnc_tracers
- Parameters:
Unit: [Default: allUnits]
- Side - Side to apply to.
- Array - Units to apply to.
- String - role to apply to.
zeusSpawned: Boolean - Apply to units spawned in zeus? [Default: false]
randomModel: Boolean - use random magazine model or attempt to find one of the same kind. [Default: false]
flashlight: Boolean - Add flashlight to unit. [Default: true]
players: Boolean - Affect player units. [Default: false]
- Return Value:
None
Examples
- Example 1:
// Applies to all opfor units
[east] call emf_gameplay_fnc_tracers;- Example 2:
// Apply to all units and zeus spawned units but don't add flashlight
[allUnits, true, false, false] call emf_gameplay_fnc_tracers;
Additional Information
- See also:
Notes