• 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.

[Trigger] Add build after some time

Status
Not open for further replies.
Level 2
Joined
Apr 9, 2006
Messages
9
Hi guys,
there is any chance to add a tower type in the build menù after some time?

for example:

  • Example Trigger
    • Events
      • Game - The in-game time of day becomes Equal to 12.00
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units of type Peasant) and do (Actions)
        • Loop - Actions
          • ---------> Add "Build Type" in the building menù of (Picked unit)
      • Trigger - Destroy (This trigger)
Thanks in advanced :)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
Simply add all buildings the unit will ever build in the object editor. Then disable the ones he should not be able to build so they do not even appear as buildable. Then all you have to do is re-enable the building for the player when the unit should be able to build it.
 
Level 2
Joined
Apr 9, 2006
Messages
9
Thanks for reply
I just want to do not display that build in menu before a time elapse.
If i understanded what you say, with that method you can see build but cant build it.
This isnt what i need, i have to add a tower on build menu.

for example:
In-game Day time = 08:00 -> On Build menu display only Tower A and Tower B.
In-game Day time = 12:00 -> On Build menu display only Tower A, Tower B and Tower C.

Thanks again for info :)
 
Level 2
Joined
Apr 9, 2006
Messages
9
There's this action that something like:
Player- Set Build/Train Limit

Simply use that action to set the build limit of the tower to 0 so it will not show.
You probably know the event right?

That is what i want! Tested and work perfectly!
Thanks man, you solved a big problem for me!

Thanks again and thanks to all :)
 
Status
Not open for further replies.
Top