π¨βπ€Actors
Create Communication Channel
<any> create_comm_channel(<string channelName>)Creates a communication channel for sending and receiving messages.
Get Actors
<string> getactors(<void>)Returns all the actors in the game, example above will return
0if there are no actors in the game.
Alternative:
get_actors
Get Actor From Thread
<any> get_actor_from_thread(<thread thrd>)Returns the actor (script or environment) associated with
thrd.
Alternative:
getactorfromthread,getthreadactor,get_thread_actor
Get Communication Channel
Retrieves an existing communication channel by
channelName.
Get Current Actor
Returns the actor instance of the current running thread.
Alternative:
getcurrentactor
Get Deleted Actors
Checks actor threads specifically connected to an expired actor instance.
Note: This function does not return the actor instance directly. Instead, it returns a lightuserdata that can be passed to
run_on_actor.
Alternative:
get_deleted_actors
Is Parallel
Returns if the thread is parallel or not.
Run On Actor
Will run the script on an actor state.
Last updated