true when the proxy points at an actor Lua state, false for the main game state. The quickest way to split actor proxies from the game one.
Returns
boolean
true for an actor state.Example
Related
getgamestate: the non-actor state.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Whether the state is an actor state.
LuaStateProxy.IsActorState -> boolean
true when the proxy points at an actor Lua state, false for the main game state. The quickest way to split actor proxies from the game one.
true for an actor state.for _, state in getactorstates() do
if state.IsActorState then print(state.Id) end
end
getgamestate: the non-actor state.