Lua: Modifying script settings programmatically

amirchev

Member
What is the best way to access script properties and settings outside of a button callback? Specifically, I want to do it from a hotkey callback, but it would be ideal to be able to get script properties and modify them from anywhere within a Lua script.
 

WBE

Member
One can argue on it being the best way, but I find global variables a common practice within the scripts around here.
 
Top