#Checking for fastForward programmatically
1 messages · Page 1 of 1 (latest)
It was only my dev module and libwrapper. I yote just in case, but still no dice. Is it possible to dump my console somewhere so I can do good old search?
How are you testing?
I pop open console, put on CONFIG.debug.hooks = true, roll a longbow on Quillathe the ranger starter hero and then hold down shift as I click the Attack or Damage button in the chat.
FVTT version 11.299, dnd5e 2.2.1, 0 modules right now
I see. Guess you have to check the config's event then
The configs event? Assuming that's a different one than the event I spot on the hooks? How would I go about that?
Pretty sure event is a key in one of the objects
Log its properties, particularly ctrlKey, shiftKey, altKey
Sorry, just clarifying because I'm thick, we're talking about the objects logged in the hooks as args when the debug setting allow it or am I supposed to log differently? I've seen event when doing html and eventListener stuff, cannot seem to find them in there.
Correct
I can definitely find shiftKey there, and since it's not a regularly rebindable keybind, that's a good start. The struggling perfectionist notices that wont work if someone programmatically fastForward, like with a macro, though. Event doesn't seem to be filled out at all in that case.
Maybe this is not quite feasible.