No categories assigned

LUA:AddTransportSpawn

Revision as of 18:31, 24 November 2013 by Thefoof (talk | contribs) (Created page with "= LUA Functions: AddTransportSpawn() = ==== Syntax ==== AddTransportSpawn(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn*) : ''param1'' is the spawn to set as a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: AddTransportSpawn()

Syntax

AddTransportSpawn(param1)


Parameters

Required - param1 (Spawn*)
param1 is the spawn to set as a lift


Usage

function spawn(NPC)
    AddTransportSpawn(NPC)
end

When this spawn pops ingame, the spawn will be added to the zone's transport spawn list. This lets the server keep track of where players are located while riding this lift.