• 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.

Help Me Pros needed

Status
Not open for further replies.
Level 2
Joined
Oct 30, 2004
Messages
9
this is my next day Editing and im already acting like a Pros, im now makeing my first map that im gonna release Puplic but.....Triggers wont let me

now lets go to the point

i made a Amory that keeps upgradeing Armor(armor for soldiers like)

1 Foot man must cost like 1 Chainmail and 1 Sheild ect

and Footknight costs 1 armor 1 sword 1 helmet only exsambles

how do i do this?
and the amount of swords and helmets.... must show like how the fuck isist named....
Variable( a stubit guess)

be nice to help me plz
 
Level 6
Joined
May 5, 2004
Messages
232
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:

Code:
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

Is that what you mean?[/code]
 
Level 2
Joined
Oct 30, 2004
Messages
9
i deleted my old Reply becouse i tough it sounded stubit...


I think u almoust got what im trying to say.


Blacksmith-Makes a Sword-

Done. then there will show how many Swords i have to the left of the screen Variable i think its named

now im going to make a soldier it says it needs a Sword an Helmet and a Chainmail

so now it will reduce the amount of Swords, Helmets, and ChainMails i got

if i havent got the weapons for the soldier he wont be built

plz gimme a code for this, its to hard for a newbie like me to do thx :D
 
Level 11
Joined
Aug 15, 2004
Messages
710
sure

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
 
Level 9
Joined
Sep 8, 2004
Messages
633
Advanced - game interface.

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.

Goodluck!
 
Level 2
Joined
Oct 30, 2004
Messages
9
thx i think the idea that would show my status every 15 secs sounds good, umm hmm emm could some one make a small exsamble for me :lol:
 
Level 6
Joined
May 5, 2004
Messages
232
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:

Code:
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,:

Code:
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].
 
Level 9
Joined
Sep 8, 2004
Messages
633
[DragonSS said:
amurai-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:

Code:
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,:

Code:
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.
 
Status
Not open for further replies.
Top