Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: devomage on September 08, 2016, 11:42:38 PM

Title: TransferToChannel
Post by: devomage on September 08, 2016, 11:42:38 PM
It seems odd that TransferToChannel(...) does not automagically set the channel id of the TNO.

with a static scene TNO -- tno.channelID remains 0 after using tno.TransferToChannel

  1. public static void SetChannelID(int id)
  2. {
  3.     instance.tno.TransferToChannel(id);
  4.     //instance.tno.channelID = id;//error
  5. }
  6.  
Title: Re: TransferToChannel
Post by: devomage on September 08, 2016, 11:49:59 PM
a dynamic TNO seems to be the better option...
Title: Re: TransferToChannel
Post by: ArenMook on September 09, 2016, 03:09:58 PM
Static objects can't be transferred. Only dynamically created objects can be transferred to another scene.