STAR TREK 2d20
Page 1 of 2 12 Last
  1. #1

    CoreRPG - SingleWindow

    This extension limits the number of a specific window type that will be up at any one time. By default all windows except images and character sheets will only be allowed 1 window. You can override this behavior by pressing control while clicking.

    This is similar to the now defunct "sticky windows" extension.

    ADVANCED:
    If you want to edit the default windows that will be allowed multiple versions then edit this specific option or add your own extension to do the same.

    WindowManagerADND.setIgnoredWindowClasses() // array of record types to allow multiple windows displayed

    Within this extension, extract to run a local copy
    scripts/windowmanager.lua
    Code:
    function onInit()
      -- set default window classes we dont only want singles for
      setIgnoredWindowClasses({"imagewindow","charsheet"});
    ...
    By default I allow images and character sheets to have more than 1 window in the above.

    Version 1.0: Release

    Download here:
    Attached Files Attached Files
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  2. #2
    Nice. Just deleted Sticky and put this in the folder instead.

  3. #3
    Valyar's Avatar
    Join Date
    Mar 2018
    Location
    Europe
    Posts
    2,117
    Nice to see updated version of the old Sticky Windows extension!
    The past is a rudder to guide us, not an anchor to hold us back.

  4. #4
    hawkwind's Avatar
    Join Date
    Oct 2012
    Location
    London Calling
    Posts
    2,588
    very useful

  5. #5
    Does anyone know if enabling this extension to limit other window types to 1 helps save on the amount of memory the FG app generates during a game session and therefore helps avoid those kinds of crashes?

  6. #6
    hawkwind's Avatar
    Join Date
    Oct 2012
    Location
    London Calling
    Posts
    2,588
    it might but i use it to reduce screen clutter

  7. #7
    Has anyone tested this in Fantasy Grounds Unity?

  8. #8
    Deleted
    Last edited by abetterway; May 9th, 2020 at 18:52.

  9. #9
    Quote Originally Posted by jaharmi View Post
    Has anyone tested this in Fantasy Grounds Unity?
    I just tried it and it does work in Unity. This is a very nice extention.

  10. #10
    TMO's Avatar
    Join Date
    Aug 2015
    Location
    Portland, Oregon (USA)
    Posts
    403
    How does this extension help? I get that it is trying to limit the number of open windows, but what happens if (for instance) a second NPC is opened. Does it close the first NPC or does it simply prevent the second NPC from opening?

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
  •  
FG Spreadshirt Swag

Log in

Log in