-
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
But I never see anything.
-
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 onDragStart