Results 1 to 2 of 2

Thread: Disable() function to deactivate (but not delete) an object

  1. #1

    Lightbulb Disable() function to deactivate (but not delete) an object

    It would be great if we could disable objects without deleting them.

    By this, I mean having a way to make items disappear visually and in their ability to be interacted with. You could still refer to them with their GUID (which would remain the same) and their position would still be the same once re-activated. This would make life a lot easier with scripting a number of times.

  2. #2
    Set to uninteractable and disable their MeshRenderer and MeshCollider (maybe messed up the names) through the component api (https://api.tabletopsimulator.com/component/) could achieve just that, I think.

Similar Threads

  1. [ADDED] Add an in-built function to set a relative position from another object
    By Mark in forum Scripting Suggestions
    Replies: 5
    Last Post: 06-09-2017, 08:29 PM
  2. [SOLVED] Making custom table object... how to disable UNLOCK?
    By Tragic in forum General Discussion
    Replies: 10
    Last Post: 01-17-2017, 12:04 PM
  3. Object Function Using Global Function
    By LordAshes in forum Scripting
    Replies: 6
    Last Post: 07-11-2016, 05:18 AM
  4. [suggestion] a delete option in the object submenu
    By blackblizzard in forum General Discussion
    Replies: 1
    Last Post: 03-31-2015, 08:26 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
  •