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

Allow Token updates to automatically advance the world time as a side effect in the same way that combat round or turn updates may #10924

Closed
aaclayton opened this issue May 15, 2024 · 0 comments
Assignees
Labels
api Issues related to the API used by Mod Devs combat Issues related to Combat and the Combat Tracker tokens Issues related to Tokens and their appearance

Comments

@aaclayton
Copy link
Contributor

Token and Combat operations both support passing a worldTime: {delta: number} option

Example Usage

await token.update({x: 1000, y: 2000}, {worldTime: {delta: 60 * 5}});
@aaclayton aaclayton self-assigned this May 15, 2024
@aaclayton aaclayton added tokens Issues related to Tokens and their appearance combat Issues related to Combat and the Combat Tracker api Issues related to the API used by Mod Devs labels May 15, 2024
@aaclayton aaclayton added this to the V12 User Testing 4 milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues related to the API used by Mod Devs combat Issues related to Combat and the Combat Tracker tokens Issues related to Tokens and their appearance
Projects
Status: Done
Development

No branches or pull requests

1 participant