Sorry I'm not very good at jass but, what do you mean with enable jasshelper? I already used some custom script and all worked fine without enabling anythingUse jasshelper to declare your own natives from the common.ai functions.
put this in your map header (jasshelper must be enabled)
native GetUpgradeGoldCost takes integer id returns integer
native GetUpgradeWoodCost takes integer id returns integer
Sorry but I just don't understand what you are saying because I don't know jass or vjass I only know simple custom scriptsGet WEX or JNGP as your editor. For JNGP, switch to Vexorian JassHelper (usually it sets Cohadar as default)
Declare (write) the natives given by Jampion in the map header (the top of trigger editor).
It gives me compilation errors and it tells me "Expected end of line"Just get the tools, open the editor -> trigger editor -> top of the trigger editor (it's called (mapname).w3x) -> type the two natives.
From there on you can get the prices and such.
In my map there are a lot of researches but I think this is the best option and the most easy too and it requires only a basic knowledge of GUI. Thank you all for helping me +rep to allYou might be able to track research prices by using your own cost formula for each and applying it to a research tracking trigger that knows the base price and can use that along with number of researches.