Difference between revisions of "LUA:SetFailureTimer"

(Created page with "= LUA Functions: SetFailureTimer() = Sets the instance failure timer for the given spawn ==== Syntax ==== SetFailureTimer(param1) ==== Parameters ==== ; Required - ''param1''...")
 
(No difference)

Latest revision as of 14:34, 8 September 2013

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.