Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: Bill.Smock on July 20, 2016, 07:49:24 AM
-
Couldn't find a 100% clear answer on this using search. When a new scene is loaded that contains a bunch of TNObjects, is the host automatically the owner of them?
-
Yes, see step 6 in the joining process (TcpPlayer::FinishJoiningChannel()). If an object's owner isn't present, the object's owner is set to the host. If no players are present when you join the channel then you are the host (step 3). Additionally, when a persistent object is created by a player and that player leaves, ownership of the object is transferred to the host.