View Full Version : Code for a character's token
DragonsDen13
June 26th, 2020, 20:46
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.
superteddy57
June 30th, 2020, 03:59
Most token entries are listed under <token type="token"> tags in the database.
valeros
June 30th, 2020, 05:45
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")
"portrait_" .. charsheet.getName() .. "_charlist"
"portrait_" .. charsheet.getName() .. "_chat"
"portrait_" .. charsheet.getName() .. "_miniportrait"
"portrait_" .. charsheet.getName() .. "_token"
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.