Setlives

From cluster wiki
Revision as of 14:13, 26 March 2022 by Eric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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