FG Spreadshirt Swag
Page 2 of 2 First 12
  1. #11
    So I think I am starting on the custom dice coding. My lua dust is falling away (been over 22 years). I have been poking around but can't seem to find some good documentation on :

    Displaying the output to the chat widown (Print does not seem to do it)
    Showing the actual dice roll in the chat window (less important).

    Any good links would be appreciated.

    Thanks all!
    Daniel A George

  2. #12
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,513
    This thread is a good reference: https://www.fantasygrounds.com/forum...ns)-in-CoreRPG

    The "onRoll" event uses Comm.deliverChatMessage to display the result of the roll, which is constructed with ActionsManager.createActionMessage

    The Comm package is a good reference for what can be displayed: https://fantasygroundsunity.atlassia...996644567/Comm
    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!

  3. #13
    Thanks again Trenloe! I owe you two beers now.
    Daniel A George

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •  
5E Product Walkthrough Playlist

Log in

Log in