A
AnaXyd
Guest
I have some hero taverns on my map with mass of heroes. I want to make a trigger that removes a hero in the tavern if a player picks one... If you understand me.. Im not so good in english...
?? I didnt understand...Pyromancer said:you could just do it cirle of powerstyle it takes up more rum tho.
Events
Unit - A unit Sells a unit
Conditions
Actions
Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by ( Owner of ( Sold unit ) )
Thats exactly what he wants.DotA-Crime said:i dont know what u talking about :
if u use Neutral building remove.
any other player wont be able to pick the same hero.
if u use the Player un.av .
any other player who didnt pick this hero will be able to pick the same:
and your action dont work>
sheep said:Code:Untitled Trigger 005 Events Unit - A unit Sells a unit Conditions Actions Neutral Building - Remove (Unit-type of (Sold unit)) from Tavern 0015 <gen>
DotA-Crime said:this trigger wont work:
use pick every player and do actions
put my actions:
Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by picked Player
test
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
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)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Limit training of Shadow Hunter to 1 for Picked Player
//and use food cap and max for 2 players dont get the same unit![]()