Difference between revisions of "Setlives"
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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
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;"> | ||
[obj, amount] call ''' | [obj, amount] call '''emf_limitedRespawns_fnc_setLives''' | ||
</div></dd> | </div></dd> | ||
Line 54: | Line 54: | ||
<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;"> | ||
[this, 5] call ''' | [this, 5] call '''emf_limitedRespawns_fnc_setLives'''; | ||
</code></dd> | </code></dd> | ||
Line 66: | Line 66: | ||
<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;">[[ | <div style="display:block;">[[init (limitedRespawns)]]</div> | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
Line 77: | Line 77: | ||
<!-- CATEGORIES --> | <!-- CATEGORIES --> | ||
[[Category:Functions: Eric's Mission Framework]] | [[Category:Functions: Eric's Mission Framework]] | ||
[[Category:Limited Respawn: Eric's Mission Framework | [[Category:Limited Respawn: Eric's Mission Framework]] |
Latest revision as of 14:13, 26 March 2022
Description
- Description:
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.
- Execution:
call
- Groups:
Limited Respawn: Eric's Mission Framework
Syntax
- Syntax:
[obj, amount] call emf_limitedRespawns_fnc_setLives
- 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