HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Constructing Buildings and Max Life

05-29-2006, 09:06 AM#1
Kevin
HI!

I've been trying to play around with a trigger, that made it so when a player begins construction on a building the building has max life, but continues through the normal time of construction.

However, no matter what trigger I make, buildings increase HP gradually as they build.

I need to know, is it possible to have a building with full HP as it is constructing? Or is a building's construction based entirely on gradual HP growth?
05-29-2006, 09:44 AM#2
StockBreak
Ok, actually you can! Use these triggers:

Trigger:
Test
Collapse Events
Unit - Begins Construction
Conditions
Collapse Actions
Wait 0.00 seconds
Unit - Set life of (Constructing structure) to (Max life of (Constructing structure))

The wait it's VERY important! I hope it helps.
05-29-2006, 06:28 PM#3
Kevin
AH HA so I have to put WAIT in there.

THank you VERY much. I used that exact same trigger but without the wait, Thank you!