Difference between revisions of "SlingPrimary"

From cluster wiki
Jump to navigation Jump to search
 
(One intermediate revision 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 Utility Functions: Eric's Mission Framework
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] call '''EMF_fnc_slingPrimary'''
[unit] call '''emf_gameplay_fnc_slingPrimary'''
</div></dd>
</div></dd>


Line 53: Line 53:
<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;">
["BREACHER"] call '''EMF_fnc_slingPrimary''';
["BREACHER"] call '''emf_gameplay_fnc_slingPrimary''';
</code></dd>
</code></dd>


Line 69: Line 69:
<div style="display:block;">[[rallyPoint]]</div>
<div style="display:block;">[[rallyPoint]]</div>
<div style="display:block;">[[safeStart]]</div>
<div style="display:block;">[[safeStart]]</div>
<div style="display:block;">[[setRole]]</div>
<div style="display:block;">[[tracers]]</div>
<div style="display:block;">[[tracers]]</div>
<div style="display:block;">[[unitInvestigate]]</div>
<div style="display:block;">[[unitInvestigate]]</div>
Line 78: Line 79:
<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">Notes</div>
<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">Notes</div>
<!-- NOTES -->
<!-- NOTES -->
*Slinged weapon disapears upon respawn (This is subject to change in the future)
*Slinged weapon disappears upon respawn (This is subject to change in the future)
<!-- CATEGORIES -->
<!-- CATEGORIES -->
[[Category:Gameplay Utility Functions: Eric's Mission Framework]]
[[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 enables slinging your primary firearm onto your back. It must be run locally (eg. from initPlayerLocal.sqf).

Execution:

call

Groups:

Gameplay: Eric's Mission Framework

Syntax
Syntax:

[unit] call emf_gameplay_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_gameplay_fnc_slingPrimary;
Additional Information
See also:


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