I don't really see what you're trying to tell, but do you mean: -Replacing the player properties (gold, wood, and food) to swords, armors and helmets? -Creating different variables (yes you were right) so one represents swords, one the armors and another helmets, so it represents something like this:
Events - A player buys a unit
Conditions - Buyed unit equals to foot man (for example)
Actions - If [swords] is superior or equal to 1 and [armors] is superior or equal to 1 and [helmets] is superior or equal to 1(those would be variables), then do nothing else cancel the buying action
use the provided code aldready, and make a multiboard displaying the value of swords, armour, etc. look at my spell map for multiboard info, and be sure to refresh the board each second, and to that already provided code, add,
set variable Swords to Swords-1.
and don't put thar do nothing action.
well it's hard look at my hero contest entry, and how I used multiboard, to show soul energy
What you want to do is, find all strings used for wood, food and gold, change the icons, and the text, and you can use those.
That, or indeed a multiboard which shows you howmany armor pieces you have, the bad thing about that is, that you'll show that to everyone, so everyone knows what their enemies have.
Also, you can make variables (just like used for the multiboard) but make a text message every 15 seconds:
Status Chainmails: 2 Swords: 5 Helmets: 3
No offense, but if you do not know how to use variables, don't consider yourself a pro yet. not by far to be honest.
If you need any help learning how to work with variables, i can teach you.
Hmmm I think I see now... You mean that in a periodic event, swords are made? As well as helmets, armors... It would be like this...
-Create variables (and yes, you got it right for guessing their name) for your Swords (name it SwordsCount, for example) and everything, then:
Events - Every 120 (for example) seconds
Conditions - .Whatever.
Actions - Set SwordsCount = (SwordsCount+1)
.Etc. for other variables.
That would be for the swords, helms, armors... Now for the buying,:
Events - A player buys a unit
Conditions - Unit-type of buyed unit equals to ...Foot Man?
Actions - If SwordsCount is equal or superior to .what you want. then do nothing else cancel action
Am I closer?
PM or email me if you want. I'll be happy to answer your question in the topic I recently created [Triggerer to hire].
[DragonSSamurai-X]Hmmm I think I see now... You mean that in a periodic event, swords are made? As well as helmets, armors... It would be like this...
-Create variables (and yes, you got it right for guessing their name) for your Swords (name it SwordsCount, for example) and everything, then:
Events - Every 120 (for example) seconds
Conditions - .Whatever.
Actions - Set SwordsCount = (SwordsCount+1)
.Etc. for other variables.
That would be for the swords, helms, armors... Now for the buying,:
Events - A player buys a unit
Conditions - Unit-type of buyed unit equals to ...Foot Man?
Actions - If SwordsCount is equal or superior to .what you want. then do nothing else cancel action
Am I closer?
PM or email me if you want. I'll be happy to answer your question in the topic I recently created [Triggerer to hire].
i don't think you understand what he wants, i'll elaborate.
There's a blacksmith and a barrack. You can buy swords, armor and helmets at the blacksmith. With these swords, armor and helmets you can then again buy footmen and other units.
edit: seeing your eagerness to help, i'll refrain from explaining more, and let you help.