Difference between revisions of "Setlives"

From cluster wiki
Jump to navigation Jump to search
m (Eric moved page LimitedRespawnsSet to Setlives: Renamed function)
(No difference)

Revision as of 14:12, 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_fnc_limitedRespawnsSet

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_fnc_limitedRespawnsSet;
Additional Information
See also:


Notes