-
Notifications
You must be signed in to change notification settings - Fork 0
Gate Library Documentation
This is a page documenting all of the features included in gate.lua
symbols.origin
: Table containing key/value pairs for the Point of Origin for each of the three gate types. Keys match string returned by the stargate component's getGateType()
function. (MILKYWAY
, PEGASUS
, UNIVERSE
)
dial(address: string, number or table)
: Dials the specified address. Accepts either individual arguments for each symbol in address, or table containing symbols.
isOpen(): boolean
: Returns true
if gate is open, returns false
otherwise.
getMainAddress(): array
: Returns main address for connected gate (For example, the MW address for a MW gate, UN address for UN, etc.)
getAddress(string: type): array
: Returns address of specified type. Uses strings matching those returned by getGateType()
.