• 🏆 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!
arielavi
Reaction score
0

Profile posts Latest activity Postings Experience Resources About

  • With the trigger you made meUnits Suggestion
    Events
    Unit - A unit Finishes training a unit
    Conditions
    Actions
    For each (Integer generalintegers[1]) from 1 to Income_totalunits, do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Unit-type of (Trained unit)) Equal to Income_unit[generalintegers[1]]
    Then - Actions
    Unit - Remove (Trained unit) from the game
    Set Income[(Player number of (Owner of (Triggering unit)))] = (Income[(Player number of (Owner of (Triggering unit)))] + Income_provided[generalintegers[1]])
    Else - Actions
    Unit - Create 1 (Unit-type of (Trained unit)) for Player 12 (Brown) at (Center of Box 1 <gen>) facing 0.00 degrees

    how do I make it produce only one?
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top