Some sort of global value storage location?

Angryr

Chieftain
Joined
Jul 12, 2014
Messages
40
Location
Indiana, USA
Alright, so right now I'm trying to make a slider option for the hex-tile tooltip delay.
I've got them working independently, however I need a place to put the value from the slider in Options.lua so that PlotToolTip.lua can read it.

I've tried doing "Options.SetUserOption("Interface", "HexTooltipDelay");" however it doesn't like this because that option doesn't exist.
I've also tried using GlobalParameters, however it is unfortunately readonly.

Does anyone know how these options are created and if new ones can be added?
Or is there a way to make a global variable between two files/contexts?
 
Top Bottom