Id refer to the same state, which is how you compare proxies or route messages.
Returns
number
The state’s unique id.
Example
Related
isactorstate: whether it is an actor.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The state’s unique id.
LuaStateProxy.Id -> number
Id refer to the same state, which is how you compare proxies or route messages.
if getgamestate().Id == getluastate().Id then
print("running on the game state")
end
isactorstate: whether it is an actor.