Difference between revisions of "SlingPrimary"

From cluster wiki
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...")
 
Line 65: Line 65:
<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;">[[EMFRoleSet]]</div>
<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;">[[tracers]]</div>
<div style="display:block;">[[unitInvestigate]]</div>
</dd>
</dd>



Revision as of 09:14, 16 June 2021

Description
Description:

This function enables slinging your primary firearm onto your back. It must be run locally (eg. from initPlayerLocal.sqf).

Execution:

call

Groups:

Gameplay Utility Functions: Eric's Mission Framework

Syntax
Syntax:

[unit] call EMF_fnc_slingPrimary

Parameters:

unit:

  • Object - Unit to apply to.
  • Array - Units to apply to.
  • String - role to apply to.
Return Value:

None

Examples
Example 1:
["BREACHER"] call EMF_fnc_slingPrimary;
Additional Information
See also:


Notes
  • Slinged weapon disapears upon respawn (This is subject to change in the future)