Starfinder Playlist
  1. #1

    CoreRPG Combobox improvement request

    Hi there,
    I worked a bit lately with the combobox and I would like to make an improvement request. The combobox is created via lua scripting adding a "down"-arrow for displaying the item list. When the combobox is being set to be invisible, the "cbbutton" will stay visible unless taken care of by a lua script, i.e. something like this:

    Code:
    weapon_dmg_ability.setVisible(false)
    weapon_dmg_ability_cbbutton.setVisible(false)
    It would be great if the combobox lua script would take care of this automatically similar to how "column"-templates take care of their respective labels. That would clean up the layering ruleset code a bit.

  2. #2
    Quote Originally Posted by Mephisto View Post
    Hi there,
    I worked a bit lately with the combobox and I would like to make an improvement request. The combobox is created via lua scripting adding a "down"-arrow for displaying the item list. When the combobox is being set to be invisible, the "cbbutton" will stay visible unless taken care of by a lua script, i.e. something like this:

    Code:
    weapon_dmg_ability.setVisible(false)
    weapon_dmg_ability_cbbutton.setVisible(false)
    It would be great if the combobox lua script would take care of this automatically similar to how "column"-templates take care of their respective labels. That would clean up the layering ruleset code a bit.
    setComboBoxVisible
    CoreRPG\common\scripts\combox.lua

    There are other great lua functions in that file as well that will help you script up combo boxes.
    Dominic Morta
    Ruleset Developer
    Smiteworks

    How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it

    How to provide an Unity Connection issue?-Connection Issues and What to Provide

    Unity Updater issue?-Updater Issues

    Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained

    Comcast or Cox ISP User?-Comcast XFinity and Cox Users

    Have a suggestion?-Feature Request

  3. #3
    Amazing! I wish there was a list of CoreRPG templates, their intended purpose and the mechanisms in the wiki. :-)

  4. #4
    This is the link to the developer guide on the wiki
    https://fantasygroundsunity.atlassia...+API+Reference

    As for the CoreRPG templates, you will have to look in the code of CoreRPG for their use. As mentioned with the combobox, there are many functions that are at the highest level of the control that you can access if you have the control itself in the script. So then you can make calls to them. Another famous one is the tabs_recordsheet control that shows and is a neat bridge for subwindows. So it's a matter of finding a control you would want to use and then drill down and see all of the parts.
    Dominic Morta
    Ruleset Developer
    Smiteworks

    How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it

    How to provide an Unity Connection issue?-Connection Issues and What to Provide

    Unity Updater issue?-Updater Issues

    Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained

    Comcast or Cox ISP User?-Comcast XFinity and Cox Users

    Have a suggestion?-Feature Request

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •  
5E Product Walkthrough Playlist

Log in

Log in