Difference between revisions of "Init (edhm)"

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;">
[vehicle] call '''EMF_fnc_edhm_vehicleInit'''
[vehicle] call '''emf_edhm_fnc_ehdm_init'''
</div></dd>
</div></dd>


Line 50: Line 50:
<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;">
[myVehicle] call '''EMF_fnc_edhm_vehicleInit''';
[myVehicle] call '''emf_edhm_fnc_ehdm_init''';
</code></dd>
</code></dd>



Revision as of 13:31, 26 March 2022

Description
Description:

Initializes EDHM on vehicle, this making it so the vehicle will only be disabled and not destroyed upon full damage. Armor will catch fire and the crew will catch fire aswell.

Execution:

call

Groups:

edhm: Eric's Mission Framework

Syntax
Syntax:

[vehicle] call emf_edhm_fnc_ehdm_init

Parameters:

vehicle: Object - Vehicle to apply EDHM to

Return Value:

None

Examples
Example 1:
[myVehicle] call emf_edhm_fnc_ehdm_init;
Additional Information
See also:


Notes