PDA

View Full Version : New Developer



spencerg
September 27th, 2022, 02:06
I'm curious if I'm even posting in the right place. I'm going to start writing extensions for FG, mainly 5e. I was wondering if you could direct me to some useful debug tools, and/or reference documents. I found this [URL="https://www.fantasygrounds.com/refdoc/"] , I'm curious if there is more.

IF it is the place, could someone tell me what property I need to reference on the tokenInstance object, to return IF its 'selected', NOT IF its active on the combat tracker, just selected (selection ring ring around it that you can toggle on/off by clicking)

I tried using isActive() utility for the instance, and finally realized thats a reference to the active actor in the CT.

Anyways,

Thank you in advance for any help, and apologies if this isn't the right place to post.

Trenloe
September 27th, 2022, 02:10
Don't use that old link, that's for Fantasy Grounds Classic, not Unity. Use this for FG Unity: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996644285/Developer+Guide

spencerg
September 27th, 2022, 02:49
Don't use that old link, that's for Fantasy Grounds Classic, not Unity. Use this for FG Unity: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996644285/Developer+Guide

thanks chief, much appreciated

LordEntrails
September 27th, 2022, 02:58
You might also be interested in these 2 community resources:
https://www.fantasygrounds.com/forums/showthread.php?72988-luacheckrc
https://www.fantasygrounds.com/forums/showthread.php?61387-Ruleset-Wizard-The-new-Ruleset-development-environment