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

Two questions {DotA Viper's Corrosive Skin / How to remove a hero from tavern}

Status
Not open for further replies.
Level 9
Joined
Apr 11, 2008
Messages
515
well i got the answer for number 2 just thought of a easier way lets say you set event to 90 sec(how long you wanna give them to pick one) (then lets say you use lumber to buy a hero) then after that XXX sec you will remove that lumber from then just set the restock value to 1 sec after that or same time probaly wont be able to unless really imba at clicking
(for lumber trigger)
  • Events: XXX seconds elapsed
  • Conditions:
  • Actions: Set Player red current lumber to 0(under player>set property)
just repeat with them all dunno if there is easier way though
 
Level 6
Joined
Apr 24, 2008
Messages
174
stock replenish interval/stock maximum/stock start delay
- 3600sec - 1sec - 15sec

Or you create this trigger:
  • Tarven Selling Unit
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (((Sold unit) is A Hero) Equal to True) and (((Owner of (Selling unit)) Equal to Neutral Passive) and ((Unit-type of (Selling unit)) Equal to Tavern))
    • Actions
      • Neutral Building - Remove (Unit-type of (Sold unit)) from (Selling unit)
 
Level 9
Joined
Apr 11, 2008
Messages
515
stock replenish interval/stock maximum/stock start delay
- 3600sec - 1sec - 15sec

Or you create this trigger:
  • Tarven Selling Unit
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (((Sold unit) is A Hero) Equal to True) and (((Owner of (Selling unit)) Equal to Neutral Passive) and ((Unit-type of (Selling unit)) Equal to Tavern))
    • Actions
      • Neutral Building - Remove (Unit-type of (Sold unit)) from (Selling unit)

i also used that in one of my maps since i knew that i had that problem as fagge i was suggested this just found the old map^^
 
Level 6
Joined
Apr 24, 2008
Messages
174
  • Hero Tarven
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (((Sold unit) is A Hero) Equal to True) and (((Owner of (Selling unit)) Equal to Neutral Passive) and ((Unit-type of (Selling unit)) Equal to Tavern))
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
That should work else :)
 
Status
Not open for further replies.
Top