HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I need a triger to raise the price of some buildings after an elapsed time...

08-22-2003, 08:29 PM#1
Ironboy
Anyone know how to do this?

please help outl, thxs
08-22-2003, 09:28 PM#2
Ironboy
Seems not possible...?
08-22-2003, 09:41 PM#3
cideh
I would replace it with another building with higher price.
08-23-2003, 12:32 AM#4
Hunter0000
Yea I agree that seems the best thing to do, just have ( say u need to change it twice) 3 of the same type of builder, BUT have the building they make be ALMOST the same execpt for price, then simply make a trigger that once a certain time has elapsed then replase the first with the second, and then so on untill thats as many as you want
08-23-2003, 07:13 AM#5
Ironboy
I dont understand what you mean by that... Hunter0000....

Changing building?!

but... my builder will still have that cheap building in his building list... so...

What I want is... the same building at higher price after a certain elapsed time...

is that possible with a trigger? if not, what solution do you guys can think of?

thanks a lot >_<
08-23-2003, 07:21 AM#6
DvWizard
Replace the builder unit with one who has the ability to build the more expensive buildings. E-z as pie. Mmm... pie
08-23-2003, 07:24 AM#7
Sagan
Changing the price of a building/unit is not possible. You will have to have multiple buildings which are 100% the same, except for the price. The builder has to be able to build them all. Then deactivate ALL of them in the Map Initialisation for that Player. (Player - Set Training/ConstructionAvailability) When you need to change the price, simply activate the building with the price you want, and deactivate the old one.
08-23-2003, 08:01 AM#8
Ironboy
Quote:
Originally posted by Sagan
Changing the price of a building/unit is not possible. You will have to have multiple buildings which are 100% the same, except for the price. The builder has to be able to build them all. Then deactivate ALL of them in the Map Initialisation for that Player. (Player - Set Training/ConstructionAvailability) When you need to change the price, simply activate the building with the price you want, and deactivate the old one.


Could you please be more specified with that trigger? how should I put the entire trigger? Player - Set Training/ConstructionAvailability seems interesting... how can I set that after an elapsed time?

thxs!!!
08-23-2003, 08:04 AM#9
Ironboy
btw, what I want is.... all this in just one builder, because my map doesn't give more builders. just 1 builder in the entire game.

so... can a builder have some building deactivated in the early stage of the game and then activated later?

is that possible?!
08-23-2003, 10:23 AM#10
Sagan
Lets say you want to make a Townhall with 3 different prices. Make 3 townhalls which are equal in everything except for the prices. So you should have Townhall 1, Townhall 2 and Townhall 3. (use editor suffix for better view) Now set the "structures built" field at your worker to Townhall 1, Townhall 2 and Townhall 3 (+ all other buildings).
Make a Map Initialisation Trigger with the Action: Set Training/Construction Availability of unit:
Make Townhall 1 Unavailable for Player X.
Make Townhall 2 Unavailable for Player X.
Make Townhall 3 Unavailable for Player X.

When you need to have the townhall with the first price, make a Trigger:
Make Townhall 1 available for Player X.
Make Townhall 2 Unavailable for Player X.
Make Townhall 3 Unavailable for Player X.

when you need to have the townhall with the second price, make a trigger:
Make Townhall 1 Unavailable for Player X.
Make Townhall 2 available for Player X.
Make Townhall 3 Unavailable for Player X.

etc.
08-24-2003, 04:43 AM#11
Hunter0000
okok, il talk slower lol, ok

1) make say 3(for number of times it changes) coyps of the builder and the buildings it makes

2) make one set of building copys more expensive, then set the first copy builder so it boulds only the new copys

3) repaet step 2 but making the building more expensive, you may continue this progression unit you have anof levels.

4) make a trigger that after( say 100 seconds) have passed replace every1's builder with the second one

5) now, make one for say 200 seconds that reaplases the second builder with the third, you may reapeat this unitill you have anof layers

there thats the ezest way to do it
08-24-2003, 04:47 AM#12
Pesmerga
This would require alot more custom units than needed. I suggest decreasing the players gold or finding another alternative instead of this, unless it's directly needed. And since I don't know the whole situation, I can't suggest anything.