Skip to content

[SOLVED] Slider position not saving after restarting the game.

bzmbzm Member Posts: 35
edited July 2023 in UI Modding
As in Title.
Can someone put me on the right track?
slider
	{
		area 322 464 105 27
		position "dboxSkinSLDR"
		bam	 'SLDRSTAR'
		mosaic sliderbg
		settings	3
		--pad 8 0 10 0
		action 
		"
		Infinity_ChangeOption( 69, dboxSkinSLDR, 6)
		selectedGraphicOpt = 0
		selectedSL = 4
		" 
	}


Have no idea how this may connect to saving position settings.

It is have to do with:
		dboxSkinsSLDR = Infinity_GetOption(69, panelID)
		dboxSkinsCancel = Infinity_GetOption(69, panelID)
		
		for index, var in pairs(graphicsToggles) do
			var[5] = Infinity_GetOption(var[3], panelID)
			var[6] = 0
			if var[5] == 0 then
				var[4] = 0
			else
				var[4] = 2
			end
		end

?

https://youtu.be/ar0PdqUTito

SOLVED:
https://forums.beamdog.com/discussion/86988/ui-mod-book-of-torment-discover-the-dialogues-of-torment-in-a-new-edition#latest
Post edited by bzm on
Sign In or Register to comment.