Author Topic: TnObjects  (Read 2155 times)

addebooi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 26
    • View Profile
TnObjects
« on: October 11, 2013, 02:57:49 AM »
Hey, i was considering creating an object named "hostManager" and preset it in the scene with a don't destory on load. The only problem is that it can't send "tno.send". Is that becouse it has the ID 0 becouse it's static or something? becouse other players aint receiving RFC from that objec when sent it.
So my question is: Do i have to spawn the object through tnmanager.Create for beeing able to use the tno.Send??
« Last Edit: October 11, 2013, 04:13:53 AM by addebooi »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TnObjects
« Reply #1 on: October 11, 2013, 08:50:04 AM »
Object ID of 0 means that the object will be instantiated. If you are not going to be instantiating it through TNet, you need to specify a unique ID yourself.