one trigger

error0024

New Member
Reaction score
8
hi all

i got a trigger

its like this

when u picked that hero the hero will dissapear in the tavern
but when people repick the hero dont re apear ... anyone can help ?
 

jeffandsnoop

New Member
Reaction score
8
in one trigger? lol, if a hero gone trigger w/ a repick system will need at least two triggers :p!

Hero Dissapear~
Code:
[B]Event:[/B]
A unit sells a unit
[B]Condition:[/B]
Sold unit Equal to Hero is true
Selling unit Equal to Tavern (Unneccessary if you got only one tavern for all race)
[B]Action:[/B]
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)
Second Trigger for repick
Code:
[B]Event:[/B]
Player - Player 1 (Red) types a chat message containing -repick as An exact match
Player - Player 2 (Blue) types a chat message containing -repick as An exact match
Player - Player 3 (Teal) types a chat message containing -repick as An exact match
Player - Player 4 (Purple) types a chat message containing -repick as An exact match
Player - Player 5 (Yellow) types a chat message containing -repick as An exact match
Player - Player 6 (Orange) types a chat message containing -repick as An exact match
................ Blah Blah Blah - For each Player.
[B]Condition:[/B]
(Number of units in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))) Equal to 1
[B]Action:[/B]
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
   Loop - Actions
      Unit - Remove (Picked unit) from the game

......... for more details please go... http://world-editor-tutorials.thehelper.net/herotavern.php
 

error0024

New Member
Reaction score
8
umm .... i got this already its all in dota templete .... but one thing i maked -repick that create's back the circle of power then hero reapeared
 

AgentPaper

From the depths, I come.
Reaction score
107
add to that second trigger, make (unit type of picked unit) available for sell by (tavern).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top