Actor
create_comm_channel
<number, BindableEvent> create_comm_channel()Returns the channel and the associated ID.
get_comm_channel
<BindableEvent> get_comm_channel(<number> id)Returns the communication channel if it exists.
run_on_actor
<nil> run_on_actor(<Actor> actor, <string> script, ...)Runs a script on an actor thread.
run_on_actor(getactors()[1], [[
print("Hello, world!")
]])getactors
Returns a table of all actors that exist within the game.
is_parallel
Returns if the thread is running on an actor.
run_on_thread
Runs a script on a specified thread, actor threads only.
getactorthreads
Returns all threads that belong to actors in a table.
Last updated