Big Man
LOELeague of Extraordinary FoundryVTT Developers
•Created by Big Man on 3/29/2022 in #development-basics
ilthid stop drag
Randomly sharing my thoughts, but I might be using the Hook "preupdatetoken" to check if the token was only moved one square. Now that I think about it the "drag and drop" method wasn't the issue as much as making sure that it moves one square at a time to remove the proper amount of "movement points".
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Big Man on 3/29/2022 in #development-basics
ilthid stop drag
I already looked it up since you mentioned it, thanks! I'll have to figure out how to use it properly.
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Big Man on 3/29/2022 in #development-basics
ilthid stop drag
I didn't even know it was called monkey-patching, so I thought that was another module, haha! But yes, that's what I had in mind.
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Big Man on 3/29/2022 in #development-basics
ilthid stop drag
Thanks a lot for the links, I'll save that somewhere.
One of the reasons why I'm asking these random questions is because I can't really look into it right now, so I'm just asking around, hoping that more veteran devs will just know off the top of their heads.
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by Big Man on 3/29/2022 in #development-basics
ilthid stop drag
Oh, thanks. I didn't think about using that functionality. Avoids clogging the channel nicely.
9 replies