yuganeigii
Active Member
- Reaction score
- 0
every time i choose a tavern it creates two heroes
how do i prevent this?
this is my trigger its not finished yet and i have no more idea how to extend this(if it lacks of something)
and this is my initialization trigger
please feel free to tell if there is anything missing or if there are errors
future thanks
how do i prevent this?
this is my trigger its not finished yet and i have no more idea how to extend this(if it lacks of something)
Trigger:
- Test Hero
- Events
- Player - Player 1 (Red) Selects a unit
- Conditions
- (Unit-type of (Triggering unit)) Equal to Test hero
- Actions
- Unit - Create 1 Test hero for Player 1 (Red) at (Center of TestLocation <gen>) facing Default building facing degrees
- Trigger - Turn off (This trigger)
- Events
and this is my initialization trigger
please feel free to tell if there is anything missing or if there are errors
Trigger:
- Initialization
- Events
- Map initialization
- Conditions
- Actions
- Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of StartingRegion <gen>) to a radius of 512.00
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Camera - Pan camera for Player 1 (Red) to (Center of HeroSelection <gen>) over 0.00 seconds
- Camera - Pan camera for Player 2 (Blue) to (Center of HeroSelection <gen>) over 0.00 seconds
- Camera - Pan camera for Player 4 (Purple) to (Center of HeroSelection <gen>) over 0.00 seconds
- Camera - Pan camera for Player 9 (Gray) to (Center of HeroSelection <gen>) over 0.00 seconds
- Loop - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Player - Limit training of (Unit-type of (Triggering unit)) to 0 for (Picked player)
- Loop - Actions
- Player Group - Make Player Group - Player 1 (Red) treat (All players) as an Ally with shared vision
- Player Group - Make Player Group - Player 2 (Blue) treat (All players) as an Ally with shared vision
- Player Group - Make Player Group - Player 4 (Purple) treat (All players) as an Ally with shared vision
- Player Group - Make Player Group - Player 9 (Gray) treat (All players) as an Ally with shared vision
- Player - Add 1000 to Player 1 (Red) Current gold
- Player - Add 1000 to Player 2 (Blue) Current gold
- Player - Add 1000 to Player 4 (Purple) Current gold
- Player - Add 1000 to Player 9 (Gray) Current gold
- Game - Set game speed to Fastest
- Events
future thanks