No categories assigned

LUA:SetFailureTimer

Revision as of 14:34, 8 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: SetFailureTimer() = Sets the instance failure timer for the given spawn ==== Syntax ==== SetFailureTimer(param1) ==== Parameters ==== ; Required - ''param1''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.