User-configurable addon settings

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
HunterZ
Cornac
Posts: 39
Joined: Fri Jan 11, 2013 5:24 am
Location: Seattle
Contact:

User-configurable addon settings

#1 Post by HunterZ »

How can I add a setting in the in-game Game Options menu to allow users to tweak the behavior of my addon?

How can I then access the setting from my addon?

Thanks!

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: User-configurable addon settings

#2 Post by HousePet »

Pull apart one of my addons to see how it works?
My feedback meter decays into coding. Give me feedback and I make mods.

HunterZ
Cornac
Posts: 39
Joined: Fri Jan 11, 2013 5:24 am
Location: Seattle
Contact:

Re: User-configurable addon settings

#3 Post by HunterZ »

Can you point me at one?

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: User-configurable addon settings

#4 Post by HousePet »

http://te4.org/games/addons/tome/necromancy
What you want is in hooks/load.lua
My feedback meter decays into coding. Give me feedback and I make mods.

Post Reply