Volt

LuaStateProxy

The LuaStateProxy library provides a proxy object for accessing and controlling Lua execution states.

Overview

LuaStateProxy allows you to:

  • Access state properties and identifiers
  • Execute code on specific states
  • Communicate between different Lua states
  • Manage actors associated with states

Constructor

FunctionDescription
LuaStateProxy.newCreate a new LuaStateProxy for the current state

Properties

PropertyTypeDescription
IdnumberUnique identifier for this Lua state
IsActorStatebooleanWhether this state was created for Actors
EventVoltSignalGeneric event for communication between states

Methods

MethodDescription
LuaStateProxy:GetActorsGet all Actor instances for this state
LuaStateProxy:ExecuteExecute code on this Lua state

On this page