Search:

Type: Posts; User: Maris

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    86

    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...
  2. Thread: loadstring

    by Maris
    Replies
    2
    Views
    890

    loadstring

    Please add this functions to Lua: loadstring(), setfenv().

    P.S. Add load() function if you move to Lua 5.2+
  3. Thread: P2P Errors.

    by Maris
    Replies
    42
    Views
    9,429

    http://f4.s.qip.ru/1HDgF5wr.png Error when a...

    http://f4.s.qip.ru/1HDgF5wr.png
    Error when a player is joining.
  4. Replies
    1
    Views
    714

    [SUPPORT] Hidden part of interface

    My icons are hidden behind the buttons.

    https://i.imgur.com/JVfI6GO.png
  5. Replies
    0
    Views
    1,235

    Русская группа

    Присоединяйтесь!
    Дискорд - https://discord.gg/DtqSgBF
    VK - https://vk.com/tabletopsimulator
  6. Replies
    5
    Views
    2,218

    See "onSave" function for script related...

    See "onSave" function for script related variables.
  7. Seems it's a bug!

    Seems it's a bug!
  8. Replies
    10
    Views
    2,733

    My few tools...

    My few tools http://steamcommunity.com/sharedfiles/filedetails/?id=846029623
    Sorry for the Russian language. I made it for myself.
    But you can use it "as is" if you like (or you may use google...
  9. .......... local rot = obj:getRotation() ...

    ..........
    local rot = obj:getRotation()
    local isFaceUp = (rot.z < 90 or rot.z > 270)
    ..........
  10. Replies
    3
    Views
    1,036

    I just wanted EASY way to add thickness to...

    I just wanted EASY way to add thickness to highlight.
    Now I made additional BlockSquare to each card in the game. And it acts like a shadow. It's not easy to make it. And it takes much cpu.
  11. Replies
    9
    Views
    1,866

    local vel = obj:getVelocity() if vel.x ~=0 or...

    local vel = obj:getVelocity()
    if vel.x ~=0 or vel.z ~= 0 then
    obj:addForce({-vel.x,-vel.y,-vel.z},4)
    end
    local tor = obj:getAngularVelocity()
    if tor.x ~= 0 or tor.z ~= 0 or tor.y ~= 0...
  12. Replies
    1
    Views
    850

    "onload" and "onLoad"

    Is there any difference between them?
  13. Replies
    3
    Views
    1,063

    How about this idea? :) local time_now =...

    How about this idea? :)


    local time_now = os.clock()
    local TASKS = {}

    local function DoTaskInTime(period, fn)
    local task = {
    --period = period, --only for DoPeriodicTask() function....
  14. Replies
    4
    Views
    1,001

    Actually "Global" is a special object with type...

    Actually "Global" is a special object with type "userdata" (not a table). And first you should copy data from Global object, then you can change it and send it back to global object.

    Global:
    ...
  15. Replies
    3
    Views
    1,036

    Thickness of highlightOn

    Is there a way to set thickness of highlightOn function?

    I'd like to make solid highlight because default highlight is almost invisible.
  16. Replies
    4
    Views
    1,001

    For indexed arrays use "table.insert( ,...

    For indexed arrays use "table.insert(<table>, <value>)" or "table.insert(<table>, <index>, <value>)" but NOT "table.insert(<table>, <key>, <value>)".
    If keys are guids (i.e. strings), use...
  17. If you want to access object's functions, use ":"...

    If you want to access object's functions, use ":" instead of ".",
    e.g.
    tile:setName('tile')
Results 1 to 17 of 17