DICE PACKS BUNDLE
Page 64 of 331 First ... 14 54 62 63 64 65 66 74 114 164 ... Last
  1. #631
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Hey meguido I note you also had another request but no follow up information...

    https://www.fantasygrounds.com/forum...l=1#post368630

    welcome meguido

    so something like:

    Persuasion
    /valor 1d100>48

    And it outputs something like:
    Meguido uses persuasion: 55 Success
    Meguido uses persuasion: 48 Success
    Meguido uses persuasion: 47 Failure
    Meguido uses persuasion: 99 Critical Success

    What is the system so I can build a button for it too..?

  2. #632
    Quote Originally Posted by damned View Post
    The Universal Die Roller you have created wouldnt allow me to do that
    Actually, I believe it would - at least it was designed to. It would require a little bit of coding, but nowhere near as much as some of the dice solutions already existing inside MoreCore.

    It's your call - and as I've said elsewhere, I'll be happy to help if you choose to follow that route.

    Cheers
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  3. #633

    Join Date
    Sep 2017
    Location
    France (Gard)
    Posts
    44
    Aventure French rpg
    a simple rules system

    Roll 1d100 % <= attribute + bonus skill to Success
    01 a 05 - Critical success
    96 - 00 - Critical failure

    Attribute : 5 - 99 % max
    Bonus skill : 5 - 50 %

    GM can add a bonus or penalty (5 % a 50 % or +)

    How to program dice in morecore
    Last edited by meguido; February 21st, 2018 at 07:50.

  4. #634
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,731
    Quote Originally Posted by Pepor View Post
    Thank you for your quick response. I didn't know that it is a feature of Fantasy Grounds. I have wasted 2 hours of my life today, haha!
    It's not specifically a "feature" that all sorting is alphabetical.

    It can be changed in the relevant windowlist control via the <sortby> tag or the onSortCompare function. More info here: https://www.fantasygrounds.com/refdoc/windowlist.xcp

    If you wanted to change the default sorting, you could probably write a simple extension to override the sorting of the windowlist controls you're interested in.
    FG Wiki: How to Compile the FG Logs

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  5. #635

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,093
    Trenloe, is it true that id-0001 names will always be assigned in order created or will FG assign lowest number if you delete an entry?

    I ask because you could write the sort to go by the node identifier if that were true.

    I am not sanctioning that since few folks can ever create a list that never needs an item inserted into it.

  6. #636
    It does not “fill in” numbers as that would require a scan over every child node every time you wanted to add a node. It keeps a counter that increments as nodes are added, and gets reset to highest number each time session is loaded.

    Also, the above should not be depended on in any way, because implementations can change internally in the code as the program evolves. The takeaway should be that you shouldn’t depend on the automatic node naming for sorting.

    Regards,
    JPG

  7. #637
    Quote Originally Posted by Trenloe View Post
    It's not specifically a "feature" that all sorting is alphabetical.

    It can be changed in the relevant windowlist control via the <sortby> tag or the onSortCompare function. More info here: https://www.fantasygrounds.com/refdoc/windowlist.xcp

    If you wanted to change the default sorting, you could probably write a simple extension to override the sorting of the windowlist controls you're interested in.
    Thank you for your response Trenloe. I have tried to modify the <sortby> tag even in the CoreRPG but it doesn't work either. So I think it should be the onSortCompare funcion instead, but I really get lost there.

  8. #638
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Ill have a look chadhill - Trenloe made a bunch of changes in that script to fix the rollunder and something may have been inadvertently changed...

  9. #639
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Hi again - yes Trenloe updated that script and did change that roller... Ill have to re-introduce one.
    In the meantime use:
    /sthrow 1d20>#

  10. #640
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,731
    Quote Originally Posted by damned View Post
    Ill have a look chadhill - Trenloe made a bunch of changes in that script to fix the rollunder and something may have been inadvertently changed...
    Don't bloody blame me! It was your code needed fixing!!!
    FG Wiki: How to Compile the FG Logs

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Page 64 of 331 First ... 14 54 62 63 64 65 66 74 114 164 ... Last

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Refer a Friend

Log in

Log in