Search:

Type: Posts; User: dzikakulka

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    106

    Hey, since some patch we have...

    Hey, since some patch we have obj.positionToLocal/obj.positionToWorld functions, so you should use that one :)

    What I mean in the first post was that if you want to add to vector lines and not...
  2. Replies
    6
    Views
    106

    Use getVectorLines, append your points and...

    Use getVectorLines, append your points and setVectorLines.
  3. Ooh, yeah, recaulculating normals is another...

    Ooh, yeah, recaulculating normals is another thing to do when troubleshooting.
  4. Kinda wrong forum, but you neet to triangulate it...

    Kinda wrong forum, but you neet to triangulate it and if you don't want it blurry like that you want to set at least some edges/faces to sharp/flat instead of smooth.
  5. Replies
    5
    Views
    181

    You should be able to do fow.destruct(). If you...

    You should be able to do fow.destruct(). If you want, you could make fow global by removing the "local" word from before it in the snippet :)
  6. Replies
    5
    Views
    181

    local fow = spawnObject({ type = 'FogOfWar',...

    local fow = spawnObject({ type = 'FogOfWar', position = {bla, bla, bla}, otherParams })

    should work.
    See https://api.tabletopsimulator.com/spawnableobjects/ and...
  7. [SOLVED] self.setVar(name, function(obj, col, alt)...

    self.setVar(name, function(obj, col, alt) duplex(obj, col, alt, id) end)
    -- or, actual pure Lua syntax
    _G[name] = function(obj, col, alt) duplex(obj, col, alt, id) end

    You need to add those args...
  8. Replies
    3
    Views
    198

    [SOLVED] After you destroy an object, it's ref will...

    After you destroy an object, it's ref will compare to nil. See here: https://www.reddit.com/r/tabletopsimulator/comments/a6yhqy/lua_if_an_object_referenced_by_a_lua_variable_is/ec2lckg/
  9. Thread: AIMS

    by dzikakulka
    Replies
    5
    Views
    690

    Looks interesting, would be definitely nice to...

    Looks interesting, would be definitely nice to see the code, do you have some repo for it maybe?
  10. Try a Physics.cast of the size of that zone, I;ve...

    Try a Physics.cast of the size of that zone, I;ve seen that pick up more stuff that zone.getObjects()
  11. Replies
    2
    Views
    217

    You can click the dots on a workshop table entry...

    You can click the dots on a workshop table entry and show a list of objects in it, then click any of them to only have it spawn in without loading the whole table :)
  12. Since objects ina scripting zone you get from...

    Since objects ina scripting zone you get from zone.getObjects() are in a table, getting their total count is as simple as


    local zone = getObjectFromGuid('ZONEGUID')
    local count =...
  13. It's super niche request, doubt it would be added...

    It's super niche request, doubt it would be added especially since we have the tools to do that ourselves. If you're interested in that, look up "sendExternalMessage" and TTS editor API, it's capable...
  14. Would it be fine if host had to run an...

    Would it be fine if host had to run an application alongside TTS and it would log your chat into a file next to it? That's doable.

    If you mean logging chats in-game (to notebook, on-screen note,...
  15. Replies
    4
    Views
    445

    This is amazing, exactly how they should look...

    This is amazing, exactly how they should look like since introduction.
  16. Have you tried creating a hidden zone and calling...

    Have you tried creating a hidden zone and calling setInvisibleTo on it? Wonder what would that result with.
  17. Replies
    4
    Views
    445

    I'm all for closures instead of function names...

    I'm all for closures instead of function names everywhere (that isn't even a breaking change, just overload for current string/object pair and a single closure). As far as more customizable waits go,...
  18. I'm pretty sure it follows the object transform...

    I'm pretty sure it follows the object transform both position and rotation wise, can't check for now though. It would be pretty weird if it didn't :P
  19. For now you could consider a workaround where you...

    For now you could consider a workaround where you spawn an invisible/uninteractale object, attach someone's camera to it, move it arund appropriately and destroy in the end :)
  20. I've also encountered that but had to switch to...

    I've also encountered that but had to switch to createButton elements anyway so thought it's something weird on my end. But it is incredibly annoying and super easy to reroduce, happens every time on...
  21. There's not

    There's not
  22. I don't think it's the fault of having id in...

    I don't think it's the fault of having id in Defaults. IMO it's just assigning those Defaults when UI is created and changing them at runtime will never have any effect (unless you re-set the whole...
  23. [CRASHES] What kind of "crash pop up" are you getting being...

    What kind of "crash pop up" are you getting being still able to play? Can you screenshot it?
  24. This may be related to the fact that objects...

    This may be related to the fact that objects automatically lift above stuff when grabbed. Try disabling Auto Raise on both linked objects in right click -> Toggles menu.
  25. Yeah, obj.reload() returns the new ref so if you...

    Yeah, obj.reload() returns the new ref so if you have e.g. a global variable that needs to point to it, assigning result of reload() to it is the way to go.

    For Atom plugin problems, there's a...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4