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!
You can add the building to a unit group when construction starts, and remove it when the construction ends.
When a unit is damaged, check if the attacked unit is in that group. If it is, modify damage.
Add Structure
Events
Unit - A unit Begins construction
Conditions
Actions
Unit Group - Add (Triggering unit) to ConstructingStructures
Remove Structure
Events
Unit - A unit Finishes construction
Conditions
Actions
Unit Group - Remove (Triggering unit) from ConstructingStructures
You can add the building to a unit group when construction starts, and remove it when the construction ends.
When a unit is damaged, check if the attacked unit is in that group. If it is, modify damage.
Um okey going to try it^^
Can that cause problems in the long period? I mean that if there are a lot of building = (300 aprox) the damage engine will bug?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.