APEX docs
Reference

Actors

Run code inside parallel Actor states.

checkparallel

Also available as isparallel check_parallel is_parallel

Returns true when the current code is running in parallel, inside an Actor.

createcommchannel

Also available as getcommchannel create_comm_channel get_comm_channel

Creates a channel that passes messages between Actor states, and returns its id and the channel. getcommchannel opens an existing one by id.

getgamestate

Also available as getluastate get_game_state get_lua_state state:Execute state:GetActors

Returns a table that stands for the main game state, so you can run code in it by name. getluastate is the same function.