Skip to content
JustGod edited this page Oct 28, 2023 · 1 revision

Zone

AddAction

(method) Zone:AddAction(action: fun(self: Zone))
  -> Zone

AddMarker

(method) Zone:AddMarker(marker: Marker|MarkerCircle)
  -> Marker|MarkerCircle

AddRadius

(method) Zone:AddRadius()
  -> ZoneRadius

Constructor

(method) Zone:Constructor()

Get

function Zone.Get(id: string)
  -> Zone

GetAll

function Zone.GetAll()
  -> table<string, Zone>

OnEnter

(method) Zone:OnEnter(callback: fun(self: Zone))
  -> Zone

OnExit

(method) Zone:OnExit(callback: fun(self: Zone))
  -> Zone

RemoveMarker

(method) Zone:RemoveMarker(marker: Marker|MarkerCircle)
  -> Zone

RemoveRadius

(method) Zone:RemoveRadius(radius: ZoneRadius)
  -> Zone

SetPosition

(method) Zone:SetPosition(position: vector3)
  -> Zone

SetSize

(method) Zone:SetSize(size: number)
  -> Zone

Start

(method) Zone:Start()

Should not be called directly.

Stop

(method) Zone:Stop()

Should not be called directly.

actions

List

active

boolean

id

string

markers

Map

metadata

Map

position

vector3

radius

Map

resource

string

size

number

Clone this wiki locally