1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Some sort of global value storage location?

Discussion in 'Civ6 - Creation & Customization' started by Angryr, Oct 28, 2016.

  1. Angryr

    Angryr Chieftain

    Jul 12, 2014
    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?

Share This Page