Are ID’s required to be unique?

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

2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #2146 Répondre
    IanniX
    Maître des clés

    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 Répondre
    Anonyme
    Inactif

    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).

2 sujets de 1 à 2 (sur un total de 2)
Répondre à : Répondre #2401 dans Are ID’s required to be unique?
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos