[SOLVED] PSTEE - need help with Lua: display character stats in inventory.
bzm
Member Posts: 35
We are trying to make character stats displayed in right side of modded inventory.
There is something like this inside ui.menu:
And (if it has to do with it) :
The thing is, when we paste: text lua "recordHelpString" - into inv section(menu), the stats show up, only with a trick: enter inv, then enter character screen, then go back to inv. Shows with trick, and not refreshing after change companion, e. g. stats for Namless One stays on Morte etc.
How to make that this String to be proper displaying and refreshing in inv??
There must be a way!
Edit:
Solution among others:
text lua "characters[id].proficiencies.pstDetails"
https://www.youtube.com/watch?v=hx7c68ImoDQ
There is something like this inside ui.menu:
text { area 744 58 218 421 text lua "recordHelpString" text style "normal_parchment" scrollbar 'cgscrl1' }
And (if it has to do with it) :
function resetRecordHelpString() recordHelpString = characters[currentID].proficiencies.pstDetails end
The thing is, when we paste: text lua "recordHelpString" - into inv section(menu), the stats show up, only with a trick: enter inv, then enter character screen, then go back to inv. Shows with trick, and not refreshing after change companion, e. g. stats for Namless One stays on Morte etc.
How to make that this String to be proper displaying and refreshing in inv??
There must be a way!
Edit:
Solution among others:
text lua "characters[id].proficiencies.pstDetails"
https://www.youtube.com/watch?v=hx7c68ImoDQ
Post edited by bzm on
0