League-of-Foundry-Developers / torch

Simple torch module for Foundry VTT
10 stars 16 forks source link

Call the One-Button via Macro #35

Closed Tarubain closed 11 months ago

Tarubain commented 1 year ago

Hi @lupestro !

We love your module and it is working great now with your help. 😊

However, my players are asking if it is possible to toggle the One Button or even specific light sources with a Macro? Is there maybe a documentation I missed?

lupestro commented 1 year ago

Nope - I didn't include an API for macro use. Probably won't have it for you this week, but I'll put it on the radar, for sure. Good idea.

Billiam9420 commented 1 year ago

I would love this as well! I just set up animations for the Light spell and I'd love if it actually toggled the light on, too.

Tarubain commented 1 year ago

Nope - I didn't include an API for macro use. Probably won't have it for you this week, but I'll put it on the radar, for sure. Good idea.

Glad you like the idea. That would be awesome. 👌🏻😊

lupestro commented 11 months ago

Heads up - they're coded :) I just need to get a release out. I finally got the energy to give this module a little love. This release delivers on a number of things we've talked about in the issues over the past two years.

lupestro commented 11 months ago

This is now delivered in 2.8.0. The README.md has the list of methods available to macro writers. It should be reasonably comprehensive.