• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Unit Building Limits

Status
Not open for further replies.
Level 6
Joined
May 13, 2013
Messages
111
How can I do this?

I build an aura tower and I only want it to be built once, but it will still appear in building list. I want this to happen: When you try to build and you have already built that building, it will cancel the order. How can I do this?
 
When an Aura Tower is finished being built set a boolean to True.

Build trigger
Events - A unit beings constructing
Conditions - (Unit-type of (Constructing structure)) Equal to Aura Tower and Aura_Tower_Boolean Equal to True
Actions - Remove Constructing structure from the game

Third trigger
Events - A unit dies
Conditions - Triggering unit Equal to Aura Tower
Actions - Set Aura_Tower_Boolean to False

If you want this to be MUI you need to uses arrays.
 
Status
Not open for further replies.
Top