Is it possible to somehow access the gameplay constants at runtime?
I've tried using the console by typing in
I also tried printing out all the key-value pairs _G contains, which are 4954 and as far as I can tell contains the function definitions and constants from common.j, blizzard.j and my own script files. But I've only skimmed them, as there are so many, so maybe the gameplay constants are hidden in there.
I would love to make a map where you could modify these at the start of the game, to experiment with playing wc3 under alternative rules.
Does anyone have some info or ideas?
I've tried using the console by typing in
_G.TradingIncLarge and a bunch of other identifiers shown when selecting "Display Values As Raw Data", but it just returns nil.I also tried printing out all the key-value pairs _G contains, which are 4954 and as far as I can tell contains the function definitions and constants from common.j, blizzard.j and my own script files. But I've only skimmed them, as there are so many, so maybe the gameplay constants are hidden in there.
I would love to make a map where you could modify these at the start of the game, to experiment with playing wc3 under alternative rules.
Does anyone have some info or ideas?


