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

Need help with basic Builder triggers

Status
Not open for further replies.
Level 1
Joined
Nov 1, 2007
Messages
438
I'm trying to set up a SciFi builder map, but I can't get into any other builder game (protection) to see how gold income, race selection, opening/closing gates, etc... works out in relation to triggers.

I pretty much just need to know about what basic triggers builder maps (i.e. Medieval Builder, LotR Builder, Village Builder, etc... or even a map like Founders of the North) use.
 
I hope this will cover your basic needs:


Variable: Unit Group - incomeBuildings

  • Events:
    • Time - every X seconds of game time
  • Conditions:
    • number of units in incomeBuildings is greater than 0
  • Actions:
    • Unit Group - pick every unit in incomeBuildings and do multiple actions
      • Loop - Actions:
        • Player - add Y to (owner of (picked unit)) current gold
  • Events:
    • Unit - a unit finishes construction
  • Conditions:
    • unit-type of (constructed structure) equal to Your Income Building
  • Actions:
    • Unit Group - add (constructed structure) to incomeBuildings
  • Events:
    • Unit - a unit dies
  • Conditions:
    • unit-type of (dying unit) equal to Your Income Building
    • (dying unit) belongs to incomeBuildings
  • Actions:
    • Unit Group - remove (dying unit) from incomeBuildings



Just give walls an ability that morphs them into a building of the same size, but with the "Zone Indicator" pathing map. (or give that ability to a "Gate Wall" unit)





from "World Editor Tutorials"
Just do what this says, but with builders rather than heroes.


:thumbs_up:
 
Last edited:
Status
Not open for further replies.
Back
Top