ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Sep 19, 2018 2:37 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Mar 09, 2017 6:17 am 
Offline
Cornac

Joined: Fri Jan 11, 2013 5:24 am
Posts: 38
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!


Top
 Profile  
 
PostPosted: Thu Mar 09, 2017 6:42 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5752
Pull apart one of my addons to see how it works?

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
PostPosted: Thu Mar 09, 2017 6:47 am 
Offline
Cornac

Joined: Fri Jan 11, 2013 5:24 am
Posts: 38
Can you point me at one?


Top
 Profile  
 
PostPosted: Thu Mar 09, 2017 11:12 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5752
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group