Comments (3)
Ah, thanks for the report, it seems that the trick I used for doing that (using this 'd20' API object) is actually part of the VTT ES extension, not part of Roll20 itself.
Can you install it (from here) and confirm it fixes the issue for you ?
For now, I don't plan on finding an alternative way of doing this without that API, so I'll just update the FAQ to make that a requirement.
from beyond20.
I actually built a version using window.Campaign.characters
instead (without the d20) and it seems to be working so far. That being said that extension looks useful so I'll probably check it out anyway.
from beyond20.
Oh, that's nice! Thanks for finding that.
So I had a look, and it seems the 'd20' variable has a lot more stuff than just d20.Campaign but in the Roll20 app.js, Roll20 does expose the Campaign with a window.Campaign = d20.Campaign
.
What VTT ES does is to actually patch that file so it also exposes the d20
variable because it needs access to more stuff that are hidden internally. In our case, we only need the Campaign object so we're good!
from beyond20.
Related Issues (20)
- Super advantage Rolls not displaying the right number on screen when used with Digital Dice + VTT Open HOT 1
- b20 tooltip doesn't disappear on html removal
- Navigating to a character sheet from "My characters" using View button fails to load extension HOT 1
- Permission to view browsing history? HOT 1
- MV3 service worker gets killed HOT 6
- digital dice rolls has invalid JSON HOT 1
- Native rolls: unable to send rolls on v9
- Postprocess action_name the same as description HOT 1
- Send DDB "Native" rolls to Roll20 HOT 4
- Weapon Attack Damage not applied in Calculation Native Rolls HOT 9
- Add support for custom sheet domains HOT 6
- Add roll renderer-like output in Foundry module for native rolls
- digital dice roll manager freeze in encounters page if game log is locked
- Suggestion: Dice roll average(s)
- Suggestion: Revised settings layout
- Request: Track Concentration for characters HOT 2
- Add hotkey option for display to vtt
- Fey Wanderer Ranger adding Wisdom modifier to Charisma skill checks HOT 1
- Updates to DnD Beyond Character sheet not reflected on token HOT 3
- Edge Store HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beyond20.