Jump to content

SomeAve

Member
  • Posts

    4
  • Joined

  • Last visited

SomeAve's Achievements

  1. Yes you use ISInventoryPaneContextMenu.addToolTip() Then you need to add the tooltip to the option itself. Here is an example of adding a option to equip an item on your back and gives a tooltip to it.
  2. Nevermind, I forgot that you need to use --LuaManager.GlobalObject's : ---@public ---@param arg0 Object ---@param arg1 int ---@return Field function getClassField(arg0, arg1) end ---@public ---@param arg0 Object ---@param arg1 Field ---@return Object function getClassFieldVal(arg0, arg1) end to access a Java Object's public fields / members. the arg1 param for getClassField is the sequence of fields / members as compiled in the .java source
  3. Ok, I was so dumb last night and so tired. Took a deep nap. Found out the reason was var1.padBottom is nil But when I break the debugger and inspected the value, it's valid and not nil I will make new thread for this
  4. I'm trying to add my own tooltip after the default DoTooltip, so i try to implement the steps in Lua. The problem is that it seems to not like calling Java method and passing a double parameter. Code : ERROR Log :
×
×
  • Create New...