Skip to content

[SOLVED] How to make answers in the dialogue greyed out?

bzmbzm Member Posts: 35
edited June 7 in UI Modding
I want in mod to make what was “said” in the list of answers to choose from (in PSTEE), to be greyed out (or colored)?
So that I know what I clicked before?
I quess it has to do something with
"worldPlayerDialogChoicesList"

action 
"
		chatboxScrollToBottom = 0
		--In confirm mode, just highlight the choice.
		if(gameOptions.m_bConfirmDialog == true) then 
		if (not getDialogRowClickable(worldPlayerDialogSelection)) then
		--clear the selection
		worldPlayerDialogSelection = 0
		end
		return 
		end
		if(not getDialogRowClickable(worldPlayerDialogSelection)) then return end
		worldScreen:OnDialogReplyClick(dialogTable[worldPlayerDialogSelection].marker)
		worldPlayerDialogSelection = 0
"

And also with
function getDialogEntryText(row)

?
E:
I have a progress in changing the color of the clicked response. Basically it works well.

But, got problem.

Is there any function in ui.menu that somehow assigns values: 0 and 1 to the selected color?

Infinity_SetINIValue('Graphics', 'Dlg Responses Color', 1) - this saves in baldur.lua, only the values 0 and 1, making GetINI unable to load my color after restarting the game

https://youtu.be/YGWGM8TYseU

I managed to do it.
Post edited by bzm on
Sign In or Register to comment.