Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeroRoller doesn't work embedded in Character Sheets. #1268

Open
ghost opened this issue Apr 1, 2021 · 3 comments
Open

HeroRoller doesn't work embedded in Character Sheets. #1268

ghost opened this issue Apr 1, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 1, 2021

Okay, it mostly works. If I put a roll like

!heroll --d:4n

As a "Custom Action" for a Hero System character sheet, it can't figure out who invoked the command and instead relies on the current speaker settings.
For players, this is fine, as they usually only control one character each. But for the GM, this often means the OCV of the last speaker is used, instead of the OCV of the character sheet containing the invocation.
I am very new to both javascript and the Roll20 API or I might have attempted a fix.
Ideally, the best thing would be to be able to autodetect being invoked from a character sheet. Failing that, having an option like:

--as:Heritic

would greatly aid in running games.

@TimRohr22
Copy link
Contributor

I know we discussed this on the API Forum, but for the benefit of others who might see the above request, it is in version 1.2.1, and is discussed here:
https://app.roll20.net/forum/permalink/9956423/

@Anduh
Copy link
Contributor

Anduh commented Feb 17, 2022

@swestrup, if this was resolved by v1.2.1, you could close the issue.

@ghost
Copy link
Author

ghost commented Feb 17, 2022

Alas, although this USED to work, recent changes to the Roll20 API have broken it again. Currently the --as: option does not work embedded in a character sheet, although it still works in chat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants