Search:

Type: Posts; User: MrStump

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Objects, and scripting in general, do not spawn...

    Objects, and scripting in general, do not spawn UI elements. You can only show/hide elements that are part of the table's UI layer. If you wanted to dynamically change where a UI element is pointed,...
  2. When you click a button, it automatically passes...

    When you click a button, it automatically passes 2 parameters. The first is the object the button was attached to (which I did not use, which is why you see an _ for it) and the second is a string of...
  3. Incorrect formatting of your string....

    Incorrect formatting of your string. PlayerColorQuote="White" should do it. Or 'White'.

    The resulting string should be White without any quotes. By having two sets of quotes the resulting string...
  4. Replies
    1
    Views
    86

    There's only create and destroy, no check I'm...

    There's only create and destroy, no check I'm afraid. But hacks get you where you need to go.

    If you put a destroy before a create, even if there is nothing to destroy, the destroy will not error...
  5. You can modify this scripted die....

    You can modify this scripted die. http://steamcommunity.com/sharedfiles/filedetails/?id=759381432

    Take the code, put it on a D20, then go into the script. You can see where it checks the result of...
  6. A good workaround, make sure your firewall isn't...

    A good workaround, make sure your firewall isn't blocking the internal traffic
  7. Replies
    3
    Views
    115

    Not seeing an onSave. If you had one, then losing...

    Not seeing an onSave. If you had one, then losing the data you type into the value wouldn't be an issue! Check out https://api.tabletopsimulator.com/event/#onsave and...
  8. Is your firewall blocking the internal traffic,...

    Is your firewall blocking the internal traffic, perhaps? Might be identifying it as an issue. What firewall/antivirus do you use? If you disable it temporally, does it fix the issue? What about...
  9. Replies
    7
    Views
    233

    fcdeck = getObjectFromGUID(object.getGUID()) Can...

    fcdeck = getObjectFromGUID(object.getGUID()) Can just be fcdeck=object I do believe.

    As for the error you got, you got it because you attempted to reference an object which does not exist. Try to...
  10. Replies
    1
    Views
    109

    As you say, non-numerically indexed tables are...

    As you say, non-numerically indexed tables are not ordered. So you have 2 options.

    Option 1) Make an ordered reference table

    In general, say you always wanted to print Red then White then Pink...
  11. Replies
    2
    Views
    135

    The simplest way I can think of to do this would...

    The simplest way I can think of to do this would be

    --Call from your function that determines how many to pull
    --Feed this function the script zone as well as the # of obj to take
    function...
  12. Replies
    4
    Views
    236

    Ah you mean for testing if the drawing script...

    Ah you mean for testing if the drawing script should be activated? I do have lists of card names I think (I have to tell the movement quest from collection quest cards to suit that game rule...
  13. Replies
    4
    Views
    236

    I've written the fix, it will be in a future...

    I've written the fix, it will be in a future update. Now, if a deck forms in the quest card row, which I believe can only be done by a player until I hear of a way to force it to happen...
  14. Replies
    4
    Views
    236

    Thanks for the feedback! As for the scripting,...

    Thanks for the feedback!

    As for the scripting, the way it was set up to work is that when a player drops a card, the game checks that "quest card" area for the 3 cards it is meant to have. If it...
  15. Replies
    7
    Views
    381

    Whenever you edit a string, each key you press is...

    Whenever you edit a string, each key you press is activating that function. So if one of them is a page break ("\n") then you can detect that an enter was submitted.

    Now, input boxes allow for...
  16. I am fairly certain I don't have to be online...

    I am fairly certain I don't have to be online while using TTS in single player, although to be honest I'm not sure the last time I tried it
  17. Also string are pretty fluid in Lua. Often you...

    Also string are pretty fluid in Lua. Often you can have it act as a number or string on the fly
  18. Replies
    8
    Views
    375

    True, I just thought of it as my go-to solution...

    True, I just thought of it as my go-to solution I'd try (if it hadn't been tried already)
  19. For now consider it a bug, I believe it will be...

    For now consider it a bug, I believe it will be addressed in a future update.
  20. I will say that for a game I played recently, you...

    I will say that for a game I played recently, you had to move the tile that players were standing on and had other tokens on it. Not being able to rotate locked objects would have been a mess. Same...
  21. Replies
    4
    Views
    379

    Persist mode does save, if you save your game...

    Persist mode does save, if you save your game after setting it. Unless it is some bug, but I never had it lose the persistent tag as long as I saved the table with the object on it.

    You can select...
  22. It isn't just you, I'm using this as a test: ...

    It isn't just you, I'm using this as a test:


    function makeDeck()
    local deckData = {
    face =...
  23. Replies
    8
    Views
    375

    At one point I think the folder was changed or...

    At one point I think the folder was changed or something, and by removing both of the folders it started to work properly and put the regular folder back there for me
  24. Replies
    4
    Views
    310

    http://berserk-games.com/knowledgebase/scripting/...

    http://berserk-games.com/knowledgebase/scripting/ The in-game editor isn't really meant for editing. It is there for convenience. It would be a huge amount of work to make a feature filled editor...
  25. For loop, probably.

    For loop, probably.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4