ilthid stop drag

Actually, would it be possible to modify the core function that allows people to click and drag tokens in the first place?
6 Replies
Big Man
Big ManOP3y ago
Oh, thanks. I didn't think about using that functionality. Avoids clogging the channel nicely.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Big Man
Big ManOP3y ago
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. 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.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Big Man
Big ManOP3y ago
I already looked it up since you mentioned it, thanks! I'll have to figure out how to use it properly. 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".
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server