View Full Version : DB and USER objects
BigBadBazz
August 17th, 2020, 18:57
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
Trenloe
August 17th, 2020, 19:01
They are used in LUA code. LUA code is part of a ruleset (CoreRPG is a ruleset) or an extension.
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/4128914/Ruleset+-+Scripting
BigBadBazz
August 17th, 2020, 19:18
They are used in LUA code. LUA code is part of a ruleset (CoreRPG is a ruleset) or an extension.
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/4128914/Ruleset+-+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?
Trenloe
August 17th, 2020, 19:52
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/4096257/Developer+Guide+-+Ruleset+API+Reference
All of the developer resources are accessible from the left toolbar in the Wiki.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.