Are ID’s required to be unique?

Home Forums Scripts Are ID’s required to be unique?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2146 Reply
    IanniX
    Keymaster

    I notice the scores distributed with IanniX construct trigger_id’s and cursor_id’s prepended with “200” and “100”. Is there a reason, are object id’s required to be unique?

    #2401 Reply
    Anonymous
    Inactive

    Yes, ID have to be unique. ID allows you to target actions on an specific object. For example, to move an object, you can type (in script) setPos 3 0 0 0 to place the object with ID 3 at the position (x,y,z)=(0,0,0).
    However, there is a mistake in our scripts examples that will be fixed for next release. We don’t want to prepend ID with “100” or “200” but we want to make ID range (0->1000 for cursors, 1000->2000 for curves, 2000+ for triggers).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Are ID’s required to be unique?
Your information:





© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About