nanos world API Reference Unofficial documentation
Event Client

Actor.NetworkAuthorityChange

Triggered when the local Player gets/loses network authority over this actor

Syntax

Lua
Actor.Subscribe("NetworkAuthorityChange", function(self, is_network_authority)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Actor
is_network_authority boolean Whether the local Player is now the Network Authority of this Actor