Thread: What a drag ;)
-
August 15th, 2020, 10:42 #11
The onDrop function only fires if you are dropping something on that frame. From the sounds of the experiment you performed, you placed it in the masterindex code. If you wish for it to fire on the character sheet, then it needs to be placed within the xml for the frame that it's being dropped. As I mentioned earlier, if you are hoping to drop something from the masterindex to the character sheet and perform an action, the manager_char files in 3.5e or 5e will certainly provide excellent examples of lua checking what is being dropped onto the character sheet and branch it to the proper function to perform the tasks on the character sheet it needs to perform with the drop. If you wish to see examples of MoreCore related drag and drop you can check out Shadowrun 5e and Cyberpunk 2020 extensions as I trimmed the code from those rulesets to work with those systems.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks