• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

TRIGGER-3rd & 4th resource

Status
Not open for further replies.
Level 9
Joined
Jul 20, 2009
Messages
427
Would someone please provide me with a trigger/system that enables a third or even a fourth resource? I tried using triggers involving items and charges but it's not efficient enough. I remember someone mentioned somewhere in the forums making such triggers using multiboards or something like that. I needed the system for my map in development, a cross between typical melee + city building + god game..+ rep for anyone who could help me with this one.. and credits will be given upon completion of my map..Thanks in advance..
 
Level 8
Joined
Nov 20, 2008
Messages
445
He needs 2 more ressources that are like gold and wood.

To OP, you should specify if you want them to be visible or not.
If not you can just have variables tracking those ressources.
If you want to have them show somewhere your best option is a multiboard imo.
 
Level 9
Joined
Jul 20, 2009
Messages
427
Does anyone know how to do triggers with this one?with item charges perhaps?I need them for my map..
 
Level 9
Joined
Jul 20, 2009
Messages
427
How do you plan on acquiring/harvestng the resource? What are those 3rd and 4th resources? As has been said, you could keep them up to date with a multiboard.
The idea was for example I built a granary warehouse, upon creation it will have a custom item grain with initial charge of 0. You then have to make farms that can only be built within x range of the warehouse. Each farm would have a custom item grain with 100 charges.Every x second the charge of grain of the warehouse would increase by 1 and a farm around it,randomly chosen would lose 1 of its grain item charge.When the warehouse is destroyed it loses all the charges of its item grain and if ever another warehouse will be built the item grain charge on it is set to 0 not to whatever charge the destroyed warehouse has.When all a farm's charge is 0 I plan on making a custom ability that would replenish its charge to 100. That's what I thought of..The system if ever it's possible can be used in adding other resources like stone or iron each using different sets of custom items..
 
Status
Not open for further replies.
Top