Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Use 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
Use 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 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 anything
Get 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).
Get 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).
You 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.
You 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.
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 all
if you have jassnewgen pack or some other editor like sharpcraft, you can easily get the upgrade gold cost using the native GetUpgradeGoldCost/GetUpgradeWoodCost.
native GetUpgradeGoldCost takes integer id returns integer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.