Skip to content

GetLevelLayer

A layer as this server switched it.

true or false for a layer the server switched; nil for one it never touched - it stands as the level has it, which the server does not know.

GetLevelLayer(name)
Parameter Type
name string the layer’s full name, with its GUID

boolean - on or off; nil when never switched

if GetLevelLayer("gate_open_a12b1f05-20f2-4d96-825c-57aea7eec798") then
SendClientMessage(pid, COLOR_YELLOW, "The courtyard gate stands open.")
end

SetLevelLayer · GetLevelLayers · the Level layers group of the index