maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Feature]: setSpeech is missing tokenRef Parameter

Open flaedda opened this issue 3 months ago • 1 comments

Describe the Problem

Hi, there is no Parameter to Reference a Token for the setSpeech macro command. getSpeechNames & getSpeech have this Parameter.

The Solution you'd like

I would like to have this Parameter please.

Alternatives that you've considered.

Store selected token, switch to the desired token to setSpeech, reselect stored token. But this is an ugly way to handle.

Additional Context

No response

flaedda avatar Oct 09 '25 06:10 flaedda

It would be nice if the function took both tokenRef and mapRef parameters... but you can do this for now:

[h, token(tokenRef): setSpeech(name, value)]

FullBleed avatar Oct 09 '25 06:10 FullBleed