Search:

Type: Posts; User: groovyclam

Search: Search took 0.00 seconds.

  1. Aha, thanks

    Aha, thanks
  2. Just discovered the newly implemented deck...

    Just discovered the newly implemented deck attribute ".remainder"

    See this link:
    https://forums.tabletopsimulator.com/showthread.php?8596-Last-Card-of-Deck&p=28491#post28491

    Which works for...
  3. Why doesn't this code get the last card ? )

    I've got a script zone which I iterate for objects and if I find a deck I do processing on the cards in that deck.
    The processing of the cards in the deck object puts the GUIDS of cards I am...
  4. I've just got my head around this same problem in...

    I've just got my head around this same problem in my own script.

    You have to realise that Wait.frames() and Wait.time() DO NOT PUT A PAUSE INTO A LOOP. Wait statements do not have to complete...
  5. That code would be good for a lot of...

    That code would be good for a lot of circumstances but you are actually destroying the original deck and replacing it with a new one which could cause some problems in some situations if not kept...
  6. Found out how to do it: The variable I want to...

    Found out how to do it:

    The variable I want to save and reload is called deck_refills so make the follow code changes:

    1. Give an argument to your onLoad function definition of saved_data:

    ...
  7. The card scans are lovely - I like the fact you...

    The card scans are lovely - I like the fact you can see the texture on them.

    I had to scan a board for a version of "San Marco" I made for VASSAL - I had the same problems you had. It made me...
  8. Well, your card scans are the nicest I found too

    Well, your card scans are the nicest I found too
  9. They are indeed - especially the player mats -...

    They are indeed - especially the player mats - well done.
  10. If you have any questions just ask, but the...

    If you have any questions just ask, but the variables have sensible names and I have put comments in the code.

    The main problem I had to get around was working out when deck_draw was empty. TSS...
  11. Blimey - I've realised you are PsychoSpaniard -...

    Blimey - I've realised you are PsychoSpaniard - we are probably talking about the same game!

    I used your graphics in my Bohnanaza mod !
  12. I do something similar in a version of Bohnanza I...

    I do something similar in a version of Bohnanza I just wrote ( search for "Bohnanza" in the Steam workshop and subscribe to the one written by "groovyclam" ).

    You can pick apart the script in it....
  13. Worked it out myself - set the Y value of the...

    Worked it out myself - set the Y value of the button to just below the tile's top face ( e.g. layoutButtonParam.position = {0.00, -0.20, 0.00} )
  14. Is there a way to save a variable's value between a game save and reload ?

    I have a variable which holds how many times a deck can be reshuffled and reused before the game ends. During play it reduces towards zero as the deck is reshuffled.

    Is there a way to save the...
  15. Don't want my button to obscure my nice graphic tile

    I have a custom tile with a nice graphic on it and have attached a button to it to call a function when clicked.

    The problem I have is that the button sits on top of the tile graphic and hides it....
  16. I've had a look at table lighting options and I...

    I've had a look at table lighting options and I think my "Light Intensity" was set too high - it was bleaching out the cards.
  17. Cards - difference in rendered table graphic appearance to uploaded file

    I have noticed a difference in appearance in my cards in mods I have made from the uploaded png to the rendered appearance on TTS.

    Two examples are given below to a mod I have posted for "The...
  18. Please someone add an API function to slide a...

    Please someone add an API function to slide a card into position X of a deck e.g. "position zero" could be add to the top and no specified position ( or a number greater than the number of cards in...
  19. I have this same problem To reproduce the bug:...

    I have this same problem

    To reproduce the bug:

    Open game module 2133667088 ( Macao (English Version) by groovyclam )
    On the table are 6 coloured cubes ( Black, Violet, Grey, Blue, Red, Green...
Results 1 to 19 of 19