Doesn't seem to be working for multiple people. I haven't triggered in a long time so this may be a mess, if so, help me fix it! Haha.
Basically it pops up a dialog and asks each player to pick either a Mage or Lich. Then another that asks them to pick a first skill, and then a third for a second skill (it is set up as a skill tree).
Basically it pops up a dialog and asks each player to pick either a Mage or Lich. Then another that asks them to pick a first skill, and then a third for a second skill (it is set up as a skill tree).
-
WhatHero
-
Events
- Time - Elapsed game time is 0.05 seconds
- Conditions
-
Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select Hero Type
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Mage
- Set MageButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Lich
- Set LichButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
-
Loop - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Events
-
HeroSelect
-
Events
- Dialog - A dialog button is clicked for HeroCreateDialogue[1]
- Dialog - A dialog button is clicked for HeroCreateDialogue[2]
- Dialog - A dialog button is clicked for HeroCreateDialogue[3]
- Dialog - A dialog button is clicked for HeroCreateDialogue[4]
- Dialog - A dialog button is clicked for HeroCreateDialogue[5]
- Dialog - A dialog button is clicked for HeroCreateDialogue[6]
- Dialog - A dialog button is clicked for HeroCreateDialogue[7]
- Dialog - A dialog button is clicked for HeroCreateDialogue[8]
- Conditions
-
Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to LichButton[(Integer A)]
-
Then - Actions
- Unit - Create 1 Lich for (Player((Integer A))) at (Center of HeroStart <gen>) facing (Random angle) degrees
- Set PlayerHero[(Integer A)] = (Last created unit)
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select First Skill
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Life
- Set LifeButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Nature
- Set NatureButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Death
- Set DeathButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Arcane
- Set ArcaneButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to MageButton[(Integer A)]
-
Then - Actions
- Unit - Create 1 Mage for (Player((Integer A))) at (Center of HeroStart <gen>) facing (Random angle) degrees
- Set PlayerHero[(Integer A)] = (Last created unit)
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select First Skill
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Life
- Set LifeButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Nature
- Set NatureButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Death
- Set DeathButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Arcane
- Set ArcaneButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to LifeButton[(Integer A)]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to <Empty String>
-
Then - Actions
- Unit - Add Holy Light to PlayerHero[(Integer A)]
- Set WhatSkillFirst[(Integer A)] = Life
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select Second Skill
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Life
- Set LifeButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Nature
- Set NatureButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Death
- Set DeathButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Arcane
- Set ArcaneButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Life
-
Then - Actions
- Unit - Add Divine Shield to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Nature
-
Then - Actions
- Unit - Add Rejuvenation to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Death
-
Then - Actions
- Unit - Add Life Drain to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Arcane
-
Then - Actions
- Unit - Add Mana Shield to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to DeathButton[(Integer A)]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to <Empty String>
-
Then - Actions
- Unit - Add Death Coil to PlayerHero[(Integer A)]
- Set WhatSkillFirst[(Integer A)] = Death
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select Second Skill
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Life
- Set LifeButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Nature
- Set NatureButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Death
- Set DeathButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Arcane
- Set ArcaneButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Life
-
Then - Actions
- Unit - Add Banish to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Nature
-
Then - Actions
- Unit - Add Frost Nova to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Death
-
Then - Actions
- Unit - Add Unholy Frenzy to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Arcane
-
Then - Actions
- Unit - Add Siphon Mana to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to ArcaneButton[(Integer A)]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to <Empty String>
-
Then - Actions
- Unit - Add Immolation to PlayerHero[(Integer A)]
- Set WhatSkillFirst[(Integer A)] = Arcane
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select Second Skill
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Life
- Set LifeButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Nature
- Set NatureButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Death
- Set DeathButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Arcane
- Set ArcaneButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Life
-
Then - Actions
- Unit - Add Blink to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Nature
-
Then - Actions
- Unit - Add Blizzard to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Death
-
Then - Actions
- Unit - Add Mana Burn to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Arcane
-
Then - Actions
- Unit - Add Flame Strike to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to NatureButton[(Integer A)]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to <Empty String>
-
Then - Actions
- Unit - Add Entangling Roots to PlayerHero[(Integer A)]
- Set WhatSkillFirst[(Integer A)] = Nature
- Dialog - Clear HeroCreateDialogue[(Integer A)]
- Dialog - Change the title of HeroCreateDialogue[(Integer A)] to Select Second Skill
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Life
- Set LifeButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Nature
- Set NatureButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Death
- Set DeathButton[(Integer A)] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroCreateDialogue[(Integer A)] labelled Arcane
- Set ArcaneButton[(Integer A)] = (Last created dialog Button)
- Dialog - Show HeroCreateDialogue[(Integer A)] for (Player((Integer A)))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Life
-
Then - Actions
- Unit - Add Anti-magic Shell to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Nature
-
Then - Actions
- Unit - Add Cyclone (Hero) to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Death
-
Then - Actions
- Unit - Add Carrion Swarm to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- WhatSkillFirst[(Integer A)] Equal to Arcane
-
Then - Actions
- Unit - Add Chain Lightning to PlayerHero[(Integer A)]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Events