Thread: Code for a character's token
-
June 26th, 2020, 20:46 #1
Code for a character's token
Can anyone direct me to the the code I need to search for to be able to reference the token from a player's character sheet?
Thanks.
Edited: Sorry should have clarified that this is for an extension.Last edited by DragonsDen13; June 26th, 2020 at 21:01.
-
June 30th, 2020, 03:59 #2
Most token entries are listed under <token type="token"> tags in the database.
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
-
June 30th, 2020, 05:45 #3
- Join Date
- Aug 2009
- Posts
- 261
From what I see and assuming you have the charsheet databasenode, there are four icons you can reference via code (assuming the charsheet databasenode variable is named "charsheet")
Code:"portrait_" .. charsheet.getName() .. "_charlist" "portrait_" .. charsheet.getName() .. "_chat" "portrait_" .. charsheet.getName() .. "_miniportrait" "portrait_" .. charsheet.getName() .. "_token"
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks