- Joined
- Sep 29, 2012
- Messages
- 37
I cant seem to find the Tavern triggers, buy hero and spawn it in the base. Anyone can help me with this?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Tavern Hero Repick

Events


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


Player - Player 7 (Green) types a chat message containing -repick as An exact match


Player - Player 8 (Pink) types a chat message containing -repick as An exact match


Player - Player 9 (Gray) types a chat message containing -repick as An exact match


Player - Player 10 (Light Blue) types a chat message containing -repick as An exact match


Player - Player 11 (Dark Green) types a chat message containing -repick as An exact match


Player - Player 12 (Brown) types a chat message containing -repick as An exact match

Conditions


And - All (Conditions) are true



Conditions




((Triggering player) Food used) Equal to 1




Herochosenbyplayer[(Player number of (Triggering player))] Equal to True

Actions


Set TempUnitGroup = (Units owned by (Triggering player))


Unit Group - Pick every unit in TempUnitGroup and do (Actions)



Loop - Actions




Player Group - Pick every player in (All players) and do (Actions)





Loop - Actions






Player - Make (Unit-type of (Picked unit)) Available for training/construction by (Picked player)






Unit - Create 1 Lost Soul for (Triggering player) at (Random point in Tarven <gen>) facing Default building facing degrees




Unit - Remove (Picked unit) from the game


Custom script: call DestroyGroup(udg_TempUnitGroup)


Game - Display to (All players) the text: ((Name of (Triggering player)) + has repicked a hero!)


Set Herochosenbyplayer[(Player number of (Triggering player))] = False


Selection - Clear selection for (Triggering player)


Selection - Add Tavern 0018 <gen> to selection for (Triggering player)


Camera - Pan camera for (Triggering player) to (Center of Tarven <gen>) over 0.00 seconds


Set PlayerRepicked[(Player number of (Triggering player))] = False
