Author Topic: TNManager.Create question [SOLVED]  (Read 4290 times)

droweed

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 1
  • Posts: 16
    • View Profile
TNManager.Create question [SOLVED]
« 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
« Last Edit: March 02, 2014, 12:22:42 AM by droweed »

ldw-bas

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 2
  • Posts: 32
    • View Profile
Re: TNManager.Create question
« Reply #1 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 .

droweed

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 1
  • Posts: 16
    • View Profile
Re: TNManager.Create question
« Reply #2 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