Author Topic: TNObject change ID when placed in scene  (Read 2143 times)

ufaforwork2

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
TNObject change ID when placed in scene
« on: August 19, 2017, 10:58:11 AM »
Hi there, My name's Thierry

I have alot of TNObjects set to 0 so i can spawn them in manually with TNManager.Create but when editing these updates it will try and generate a new ID. This gets very annoying when you're constantly changing things (on the player for example). Is there a way I can make it default to 0?

any suggestion would be great


MOD EDIT: malicious link removed. Do not click on links in this user's signature (I can't edit signatures or ban users).
« Last Edit: February 10, 2018, 12:14:05 PM by cmifwdll »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNObject change ID when placed in scene
« Reply #1 on: August 21, 2017, 06:36:45 PM »
Eh... what? TNObject's IDs are assigned by the server when you instantiate objects on it. That's the idea -- you don't manage them. They're managed for you. Zero ID means the object has no ID -- it's invalid. What are you trying to do?