Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: droweed on March 01, 2014, 02:50:16 AM

Title: TNManager.Create question [SOLVED]
Post by: droweed on March 01, 2014, 02:50:16 AM
I've read quite a lot of topics in this thread, and I still haven't found a solution.

the case is that, I have only one prefab, that is created, but it has different flags that I usually set after creation.
but I have no way to reference it after its created.

I've read on solutions like just set those variables on the created objects start..

but on my case, those same objects, have different values to be set on start, would it be practical to just create another prefab just to work around on this issue.. ( scenario would be like, that 1 prefab will be 4 different prefabs just to make it work like it used to ) ?

I'd like to hear from you guys on a solution that you've done to work on this case. thanks
Title: Re: TNManager.Create question
Post by: ldw-bas on March 01, 2014, 08:51:05 AM
It sounds to me that what you need is CreateEx and RCCs. The function CreateEx allows you to remotely create an object and supply your own parameters to it. More information here: http://www.tasharen.com/forum/index.php?topic=5416.0 .
Title: Re: TNManager.Create question
Post by: droweed on March 01, 2014, 11:20:32 PM
It sounds to me that what you need is CreateEx and RCCs. The function CreateEx allows you to remotely create an object and supply your own parameters to it. More information here: http://www.tasharen.com/forum/index.php?topic=5416.0 .

thanks for this, totally missed on that one