đEnvironment Functions
These are all of the functions revolving the Roblox environment that Wave supports.
Get Global Environment:
Returns the
environment
that will be applied to each script ran by Wave.
Get Roblox Environment:
Returns the Roblox
environment
.
Get Registry:
Returns the
Lua
registry.
Get Garbage Collection:
Returns a
table
with allgc
objects. Usegetgc(true)
to include tables.
Get Instances:
Returns a
table
with instances.
Get Nil Instances:
Returns a
table
with instances parented tonil
.
Get Loaded Modules:
Returns a
table
with all loadedmodules
currently in game.
Get Connections:
Returns a
table
with all connections to the givensignal
.
Connections:
Connection | Description |
---|---|
.Function | The function connected to the connection. |
:Enable | Enables the connection. |
:Disable | Disables the connection. |
:Fire | Fires the connection. |
Fire Signal:
Fires all signals connected to the
signal
. If given, the arguments will be used to call the function.
Fire Click Detector:
Fires the
ClickDetector
. If no distance supplied, it will default to0
.
Fire Proximity Prompt:
Fires the
ProximityPrompt
trigger.
Fire Touch Interest:
Touches part with
totouch
.
Actions:
Action | Toggle |
---|---|
Begins the touch. | 0 |
Ends the touch. | 1 |
Set Scriptable:
Sets the property's scriptable state to
toggle
.
Get Hidden Property:
Returns the
value
of the property that cannot be accessed through Lua.
Set Hidden Property:
Sets the given property to new
value
.
Set Simulation Radius:
Sets the
LocalPlayer
's simulation radius to givenarg
.
Last updated