• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

building problems

Status
Not open for further replies.
Level 4
Joined
Mar 27, 2009
Messages
66
ok, so how do i go about make it so that when a unit enters a building he will get certain things...like gaining mana regen/health
 
Make a region where the building is then use a trigger..

Unit Enters Region - Set Triggering Unit HP + 50

Or somthing like that.
 
There is something you can do to check whether a unit is in a transport. That's the same as if they enter a building.
  • ((Triggering unit) is loaded into (Picked unit)) Equal to True
I don't know how to use it further and it might be complicated. Another possibility is to make an aura with a very small radius (smaller than the collision size for the building). This way (not sure) only units who enter then building will get the aura.
 
There is something you can do to check whether a unit is in a transport. That's the same as if they enter a building.
  • ((Triggering unit) is loaded into (Picked unit)) Equal to True
I don't know how to use it further and it might be complicated. Another possibility is to make an aura with a very small radius (smaller than the collision size for the building). This way (not sure) only units who enter then building will get the aura.

give the aura to the building, and it should only give it to people in the building..i see i'll try that
 
Yeah just change the "Model File" in the object editor of the Fountain of Health to whatever building you want to use - adjust the mana regen spell on the fountain so the AOE is only as big as the building itself. Then make the building buildable by whatever unit it is you want.
 
Status
Not open for further replies.
Back
Top