5E Character Create Playlist
Page 3 of 3 First 123
  1. #21
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075
    Quote Originally Posted by Moon Wizard View Post
    Session package variables
    • IsHost [bool]
    • IsLocal [bool]
    • VersionMajor [#][X = client release (X.#.#)]
    • VersionMinor [#][X = client release (#.X.#)]
    • VersionRelease [#][X = client release (#.#.X)]
    • CampaignName [string]
    • RulesetName [string]
    • UserName [string][FG account name]

    Plus - thank you for this. Adding it to my OneNote until it is in regular docs so I don't forget the available resources.

  2. #22

  3. #23
    Awesome
    It might also be a good idea to edit User, since it still tells about User.isHost().

  4. #24
    User.isHost() is still available and valid. I just decided to create a new package of just system variables; so that there was no marshalling needed to get those common pieces of data.

    Regards,
    JPG

  5. #25
    Quote Originally Posted by Moon Wizard View Post
    User.isHost() is still available and valid. I just decided to create a new package of just system variables; so that there was no marshalling needed to get those common pieces of data.

    Regards,
    JPG
    oh! good to know. thanks!

  6. #26
    Quote Originally Posted by Moon Wizard View Post
    User.isHost() is still available and valid. I just decided to create a new package of just system variables; so that there was no marshalling needed to get those common pieces of data.

    Regards,
    JPG
    Seems to not be valid anymore from the error reports popping up for extensions after the latest update. Session.IsHost is the fix for that (I think)

  7. #27
    User.isHost() is still a valid API; and Session.IsHost is a mirror variable that doesn't require an API call just a variable check.

    The one you referred to on Discord was User.isLocal(), which has gone away. It was an old FG Classic API that always returned false in FGU and is now gone.

    Regards,
    JPG

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
  •  
DICE PACKS BUNDLE

Log in

Log in