Hi John,
After my first juicy experience in GrimTK in ORR3, I decided to use it in my mod. I have already fw, so I read carefully the readme of GrimTK07 and I add this in my init.lua:
Code: Select all
import "mod_assets/grimtk/init.lua"
defineObject{
name = "party",
baseObject = "party",
components = {
fw_addHooks{
class = "Party",
onDrawGui = function(party, g)
end,
onRest = function(party)
if ( findEntity("GTK") ) then
if ( GTK.Core.GUI:isPartyLocked() ) then
return false;
end
end
end,
onWakeUp = function(party)
if ( findEntity("GTK") ) then
if ( GTK.Core.GUI:isPartyLocked() ) then
return false;
end
end
end
},
},
}
I have installed now GrimTK 8, and I have the same problem: any call to GTK.GUI falls, particularly "GTKGui.Dialogue.startDialogue".
I don't understand where is the problem, even in comparing my mod with ORR3 where the gui works well.
Can you help me?
Duncan