Setlives

From cluster wiki
(Redirected from LimitedRespawnsSet)
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