FG Spreadshirt Swag
  1. #1
    DragonsDen13's Avatar
    Join Date
    Mar 2017
    Location
    Langley, British Columbia
    Posts
    177

    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.

  2. #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

  3. #3
    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

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