Actor it belongs to. Connect to it to set up hooks or run code on an actor the moment its state exists, before its own scripts get far.
Example
Related
getluastate: get the proxy for the new actor.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Event fired when an actor state appears.
on_actor_state_created: Signal
Actor it belongs to. Connect to it to set up hooks or run code on an actor the moment its state exists, before its own scripts get far.
on_actor_state_created:Connect(function(actor)
getluastate(actor):Execute([[ print("state ready") ]])
end)
getluastate: get the proxy for the new actor.