• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Building must be in radius of.........

Status
Not open for further replies.
Level 4
Joined
Jun 10, 2007
Messages
46
Does anybody have a good trigger for this? I want to make it so that a specific building can not be built unless it is in a certain radius of another building type.

I've tried a bunch of stuff, but the usual result is that the builder gets stuck in nullspace (????????) and unusable.

Any advice?
 
Level 5
Joined
May 1, 2006
Messages
131
you cant just cancel a building but you can stop production i think... ill brb and edit this so i can show you.
 
Level 18
Joined
Apr 13, 2008
Messages
1,610
If the building is not under the effect of your aura simply cancel it. Note: that way you won't get back 100% of spent gold/lumber. You have to make another trigger to give back all your resources OR look up the gameplay constants field which determines the percent of the resources you get back when canceling a building.
 
Level 5
Joined
May 1, 2006
Messages
131
lol yeah i guess what i was going to do is figure out a sell type trigger to do it.. but emporer beat me to it and im also too lazy to write one down >.<
so... :eek:
 
Status
Not open for further replies.
Top