Thread: Custom Draginfo
-
August 22nd, 2019, 07:06 #1
Custom Draginfo
I have implemented onDragStart to update the draginfo with a custom type.
How/where do I add code to accept that custom type into the shortcuts bar? I can't seem to find it anywhere.
I have tried to register "onHotKeyDrop":
Code:function onInit() Interface.onHotkeyDrop = onHotkeyDrop; end function onHotkeyDrop(draginfo) Debug.console("onHotkeyDrop", draginfo); end
-
August 22nd, 2019, 15:45 #2
Have a look in the PS Skill roll hotkey extension available here: https://www.fantasygrounds.com/forum...Roll-Extension
At the bottom of ps\scripts\ps_roll_skill.lua is some code that sets up the type etc. in onDragStartPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks