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

Building help

Status
Not open for further replies.
Level 4
Joined
Dec 2, 2011
Messages
76
I have made these two but I need help figuring out how to stop making the units completely or pick a different unit to make.
212827-albums5272-picture53750.png

212827-albums5272-picture53749.png
 
Level 8
Joined
Jan 8, 2010
Messages
493
check this tutorial on how to easily post triggers.

btw, your triggers are working? D:
(Triggering unit) will refer to the unit which triggers the Event, in case of Unit Pick, it is the unit beginning the construction, not the one being constructed. i believe Blood Mage is the unit that will be constructed. oh, and it's not Begins construction (as this is for structures), but Starts training for units. for Unit Time, you don't even have a unit in the Events, so it is useless to use (Triggering unit).

anyway, from what i understood from your problem, this is what you want:
a unit is selected from a training ground
the training ground trains the selected unit periodically while subtracting amount from the player's gold
..that?
 
Level 5
Joined
Sep 30, 2011
Messages
178
Sorry, just joking....

EDIT :
Here you go
  • Unit Picking
    • Events
      • Unit - A unit Begins training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to Footman
    • Actions
      • Trigger - Run Unit Picking <gen> (ignoring conditions)
  • Unit Creating Start
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
      • -------- About the resources, ask another people --------
  • Unit Finishes
    • Events
      • Player - Player 1 (Red)'s Current gold becomes Equal to 0.00
    • Conditions
    • Actions
      • Trigger - Turn off Unit Creating Start <gen>
The first Trigger show you when you train the unit, the second show you to make it start (Always un-check the initially on button), the third one how to make it stop
NOTE :
I don't know how to make the property reduced
I never test this trigger


I hope this help a bit
 
Last edited:
Level 5
Joined
Sep 30, 2011
Messages
178
Oh sorry, The trigger is not complete :
  • Unit Picking
    • Events
      • Unit - A unit Begins training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to Footman
    • Actions
      • Trigger - Run Unit Creating Start <gen> (ignoring conditions)
Here the real Trigger
 
Level 5
Joined
Sep 30, 2011
Messages
178
Sorry, I still don't know how to do that, here the mini-tutorial :
1. create a barrack that train footmen
2. post the trigger (Do the reduce trigger yourself)
3. play it in-game, train a footmen
4. see if it works
(I never test it, so if you have some problem I will help you again)
 
Status
Not open for further replies.
Top