DICE PACKS BUNDLE
  1. #1

    DB and USER objects

    Are the User and DB objects used in lua coding part of lua or part of the Fantasy Grounds CORERPG

    i.e. User.ishost() and DB. getvalue(xxxxx)

    Thanks, still wrapping my head around these core components

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,411
    They are used in LUA code. LUA code is part of a ruleset (CoreRPG is a ruleset) or an extension.

    https://fantasygroundsunity.atlassia...et+-+Scripting
    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. #3
    Quote Originally Posted by Trenloe View Post
    They are used in LUA code. LUA code is part of a ruleset (CoreRPG is a ruleset) or an extension.

    https://fantasygroundsunity.atlassia...et+-+Scripting
    Great link, thanks

    so where is the DB object defined, in a specific ruleset? some API or the kernal of unity?

    i.e if i want to look for the code associated with USER.ishost() where would I find it?

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,411
    https://fantasygroundsunity.atlassia...+API+Reference

    All of the developer resources are accessible from the left toolbar in the Wiki.
    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!

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
  •  
STAR TREK 2d20

Log in

Log in