Results 1 to 2 of 2

Thread: Duplicate of id (guid)?

  1. #1

    Question Duplicate of id (guid)?

    I have Infinite Bag with an object (e.g. Red Square).

    I check guid of new objects from the bag using function onObjectPickUp().

    When I take first object, it has some guid, e.g. 94abd0.
    I double check it using context menu in UI - it's 94abd0.

    But when I take second object, it has the same guid in onObjectPickUp() - 94abd0!
    Later in UI I see different guid, so I guess it changes very fast after is spawned.
    The issue is that the guid is the same in onObjectPickUp() despite it's another separate object.

    function onObjectPickUp(color, obj)
    print(obj.guid);
    end

  2. #2
    infinite bags all have the same object in them.. so every object in the bag will have the same GUID.. but TTS requires every GUID to be unique in the scene.. when a object is spawned and has the same guid as another object it is assigned a random unique guid. So as you pull objects out of a infinate bag they all eve up wth diffrent guids.
    My Boardgame uTube chan - Tragic's Table Top
    BGG Guild of BoardGame uTubers - Tube Tables

Similar Threads

  1. Duplicate items
    By Phase in forum Bug Reports
    Replies: 0
    Last Post: 05-05-2018, 02:43 PM
  2. Remove Duplicate Objects by Name from Bag
    By Pillowkeeper in forum Scripting
    Replies: 5
    Last Post: 06-17-2017, 10:19 AM
  3. Duplicate objects
    By Bushstar in forum Scripting
    Replies: 1
    Last Post: 01-06-2017, 10:36 AM
  4. Let us duplicate a card in the search window
    By CmdSoda in forum Suggestions
    Replies: 2
    Last Post: 07-03-2016, 12:52 PM
  5. [SOLVED] Duplicate Game Boards
    By h00x in forum Technical Support
    Replies: 1
    Last Post: 08-17-2015, 04:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •