Difference between revisions of "HandleUnitOnFire"

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 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;">
Eric's Damage Handling Modification: Eric's Mission Framework
edhm: 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, lifetime, rolls] call '''EMF_fnc_handleUnitOnFire'''
[unit, lifetime, rolls] call '''emf_edhm_fnc_handleUnitOnFire'''
</div></dd>
</div></dd>


Line 58: Line 58:
<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;">
[player, 60, 3] call '''EMF_fnc_handleUnitOnFire''';
[player, 60, 3] call '''emf_edhm_fnc_handleUnitOnFire''';
</code></dd>
</code></dd>



Latest revision as of 13:34, 26 March 2022

Description
Description:

Handles units on fire for EDHM.

Execution:

call

Groups:

edhm: Eric's Mission Framework

Syntax
Syntax:

[unit, lifetime, rolls] call emf_edhm_fnc_handleUnitOnFire

Parameters:

unit: Object - Unit to set on fire.

lifetime: Number - Time in seconds for the unit to be on fire.

rolls: Number - How many rolls a player has to perform to stop the fire.

Return Value:

None

Examples
Example 1:
[player, 60, 3] call emf_edhm_fnc_handleUnitOnFire;
Additional Information
See also:


Notes