Difference between revisions of "Template:CMF Function"

From cluster wiki
Jump to navigation Jump to search
(Save so i don't lose all my progress)
 
Line 1: Line 1:
<!-- Minimum required versions -->
<div class="top-icons">
<div class="top-icons">
<div class="gvi-icons">
<div class="gvi-icons">
<span class="gvi2 gvi-arma3">
<!--
<span class="icon">
 
[[File:GVI Icon.png|frameless|30px]]
-->{{#if:{{{game1|}}} | {{CMF GVI | {{{game2}}} | {{{version1|}}} }} }}<!--
</span>
-->{{#if:{{{game2|}}} | {{CMF GVI | {{{game2}}} | {{{version2|}}} }} }}<!--
<span class="version">
-->{{#if:{{{game3|}}} | {{CMF GVI | {{{game3}}} | {{{version3|}}} }} }}<!--
[[2.1.0]]
-->{{#if:{{{game4|}}} | {{CMF GVI | {{{game4}}} | {{{version4|}}} }} }}<!--
</span>
-->{{#if:{{{game5|}}} | {{CMF GVI | {{{game5}}} | {{{version5|}}} }} }}<!--
</span>
-->{{#if:{{{game6|}}} | {{CMF GVI | {{{game6}}} | {{{version6|}}} }} }}<!--
-->{{#if:{{{game7|}}} | {{CMF GVI | {{{game7}}} | {{{version7|}}} }} }}<!--
</div>
</div>
<div class="top-icons-info">Hover &amp; click on the images for description</div>
<div class="top-icons-info">Hover &amp; click on the images for description</div>
Line 20: Line 22:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Description:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Description:</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;">
This function sets the amount of respawns, it's a utility incase the zeus sees a need to add more respawns for a player. It also functions as a revive to bring spectators back to life.
{{{descr|- Missing Description -}}}
</div></dd>
</div></dd>


Line 26: Line 28:
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Execution:</dt>
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Execution:</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;">
call
{{{exec|- Missing Execution -}}}
</div></dd>
</div></dd>


Line 32: Line 34:
<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;">
Limited Respawn: Eric's Mission Framework
{{#if: {{{cmp|}}} | [[:Category:Function Group: {{{cmp}}}]]}}
{{#if: {{{gr1|}}} | [[:Category:Function Group: {{{grp1}}}]]}}
{{#if: {{{gr2|}}} | [[:Category:Function Group: {{{grp2}}}]]}}
{{#if: {{{gr3|}}} | [[:Category:Function Group: {{{grp3}}}]]}}
{{#if: {{{gr4|}}} | [[:Category:Function Group: {{{grp4}}}]]}}
</div></dd>
</div></dd>
</dl>  
</dl>  
Line 42: Line 48:
<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;">
[obj, amount] call '''emf_limitedRespawns_fnc_setLives'''
{{#if:{{{s1|}}}|{{{s1}}} | ''- Missing Syntax -''}}
</div></dd>
</div></dd>



Revision as of 02:37, 4 November 2022

Description:

- Missing Description -

Execution:

- Missing Execution -

Groups:



Syntax
Syntax:

- Missing Syntax -

Parameters:

obj: Object - Unit to apply it to.

amount: Number - Amount of respawns available for unit.

Return Value:

Boolean - Returns true on success.

Examples
Example 1:
[this, 5] call emf_limitedRespawns_fnc_setLives;
Additional Information
See also:


Notes