Difference between revisions of "PreventProne"

From cluster wiki
Jump to navigation Jump to search
 
(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;">
Utility Functions: Eric's Mission Framework
Utilities: 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_preventProne'''
[unit] call '''emf_utilities_fnc_preventProne'''
</div></dd>
</div></dd>


Line 52: Line 52:
<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;">
[myUnit] call '''EMF_fnc_preventProne''';
[myUnit] call '''emf_utilities_fnc_preventProne''';
</code></dd>
</code></dd>


Line 58: Line 58:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 2:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 2:</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;">
<nowiki>[[myUnit1, myUnit2]]</nowiki> call '''EMF_fnc_preventProne''';
<nowiki>[[myUnit1, myUnit2]]</nowiki> call '''emf_utilities_fnc_preventProne''';
</code></dd>
</code></dd>


Line 70: Line 70:
<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;">[[CountDown]]</div>
<div style="display:block;">[[EndLoadingScreen]]</div>
<div style="display:block;">[[EnhancedAIConvoy]]</div>
<div style="display:block;">[[EnhancedAttachTo]]</div>
<div style="display:block;">[[NearestPlayer]]</div>
<div style="display:block;">[[NotZeus]]</div>
<div style="display:block;">[[SetDate]]</div>
<div style="display:block;">[[SetDate]]</div>
<div style="display:block;">[[EMFRoleSet]]</div>
<div style="display:block;">[[SlotLimit]]</div>
<div style="display:block;">[[ZeusFPS]]</div>
<div style="display:block;">[[ZeusFPS]]</div>
<div style="display:block;">[[countDown]]</div>
</dd>
</dd>



Latest revision as of 14:49, 26 March 2022

Description
Description:

Prevent AI Units from going prone in COMBAT mode.

Execution:

call

Groups:

Utilities: Eric's Mission Framework

Syntax
Syntax:

[unit] call emf_utilities_fnc_preventProne

Parameters:

unit:

  • Object - Unit to apply to.
  • Array - Array of units to apply to.
Return Value:

Boolean - Returns true on success.

Examples
Example 1:
[myUnit] call emf_utilities_fnc_preventProne;
Example 2:
[[myUnit1, myUnit2]] call emf_utilities_fnc_preventProne;
Additional Information
See also:


Notes