damned
March 18th, 2020, 14:46
I dont know whats going on here -
Using MoreCore on FGC
local sDragType = draginfo.getType();
Debug.chat("Ln 17 sDragType: ", sDragType);
local dragnode = draginfo.getDatabaseNode();
Debug.chat("Ln 19 dragnode: ", dragnode);
Debug.chat("Ln 20 draginfo: ", draginfo);
Outputs
s'Ln 17 sDragType: ' | s'number'
s'Ln 19 dragnode: ' | databasenode = { charsheet.id-00001.clilist1.id-00003.p2 }
s'Ln 20 draginfo: ' | dragdata = { type = s'number', desc = s'', #slots = #1, slot = #1, string = s'', num = #2, dice = { }, shortcut = { }, token = { prototype = , instance = }, custom = nil }
Using MoreCore on FGU
local sDragType = draginfo.getType();
Debug.chat("Ln 17 sDragType: ", sDragType);
local dragnode = draginfo.getDatabaseNode();
Debug.chat("Ln 19 dragnode: ", dragnode);
Debug.chat("Ln 20 draginfo: ", draginfo);
Outputs
s'Ln 17 sDragType: ' | s'number'
s'Ln 19 dragnode: ' | nil
s'Ln 20 draginfo: ' | dragdata = { type = s'number', desc = s'', #slots = #1, slot = #1, string = s'', num = #2, diceexpr = {}, shortcut = {}, asset = {, instance = }, custom = nil }
Why does draginfo.getDatabaseNode() not return anything in FGU?
Using MoreCore on FGC
local sDragType = draginfo.getType();
Debug.chat("Ln 17 sDragType: ", sDragType);
local dragnode = draginfo.getDatabaseNode();
Debug.chat("Ln 19 dragnode: ", dragnode);
Debug.chat("Ln 20 draginfo: ", draginfo);
Outputs
s'Ln 17 sDragType: ' | s'number'
s'Ln 19 dragnode: ' | databasenode = { charsheet.id-00001.clilist1.id-00003.p2 }
s'Ln 20 draginfo: ' | dragdata = { type = s'number', desc = s'', #slots = #1, slot = #1, string = s'', num = #2, dice = { }, shortcut = { }, token = { prototype = , instance = }, custom = nil }
Using MoreCore on FGU
local sDragType = draginfo.getType();
Debug.chat("Ln 17 sDragType: ", sDragType);
local dragnode = draginfo.getDatabaseNode();
Debug.chat("Ln 19 dragnode: ", dragnode);
Debug.chat("Ln 20 draginfo: ", draginfo);
Outputs
s'Ln 17 sDragType: ' | s'number'
s'Ln 19 dragnode: ' | nil
s'Ln 20 draginfo: ' | dragdata = { type = s'number', desc = s'', #slots = #1, slot = #1, string = s'', num = #2, diceexpr = {}, shortcut = {}, asset = {, instance = }, custom = nil }
Why does draginfo.getDatabaseNode() not return anything in FGU?