gurps
gurps copied to clipboard
[Feature Request] Prompt for input in On-the-Fly formulas
For effects with variable costs like Healing or spells. So the user is prompted to input the amount they want to spend and the OtF formula can use that number to calculate things like cost, damage and healing.
Oh, I like this! Now how to get it to work... hmmm...
The prompt would have to be very simple: something like a single Label and TextField. But yeah, I bet we can do that!
There is a SpellDamage macro and several variants (including one for healing) that do exactly this on the Cool Macros page of the wiki here.
Oh, I agree. This would be a great feature. Unfortunately, there's a bit of multithreaded work involved to allow the processing of the macro to stop while we're waiting for the user to enter a value. And allow the macro to stop executing if they cancel.
It's not impossible, but it's a little more work than your standard chat command. but it is definitely on my list