No categories assigned

LUA:SetFailureTimer

LUA Functions: SetFailureTimer()

Sets the instance failure timer for the given spawn


Syntax

SetFailureTimer(param1)


Parameters

Required - param1 (Spawn)
param1 is the player to set the failure timer for


Usage

function player_entry(zone, player)
    SetFailureTimer(player)
end

This zone script will set the failure timer of the player when they enter the zone.

Notes

The param given must be a player.