[Solved] All Random Trigger not working

Status
Not open for further replies.
Level 9
Joined
Nov 3, 2010
Messages
448
Hey, can someone tell me where I get it wrong?

  • Aktionen
    • Spielergruppe - Pick every player in (All players) and do (Actions)
      • Schleifen - Aktionen
        • Video - Turn cinematic mode Aus for (All players)
    • Set HeroTypeCount = 15
    • Set HeroType[1] = Inquisitor
    • Set HeroType[2] = Wizard
    • Set HeroType[3] = Mountain Giant
    • Set HeroType[4] = Blackrock-Clan-Klingenmeister
    • Set HeroType[5] = Witch Doctor
    • Set HeroType[6] = Warlock
    • Set HeroType[7] = Lich
    • Set HeroType[8] = Vampire
    • Set HeroType[9] = Abomination
    • Set HeroType[10] = Gruftlord
    • Set HeroType[11] = Druid
    • Set HeroType[12] = Dämonenjäger
    • Set HeroType[13] = Wächterin
    • Set HeroType[14] = Feuerlord
    • Set HeroType[15] = Ranger
    • Spielergruppe - Pick every player in (All players matching (((Picked player) slot status) Gleich Spielt)) and do (Actions)
      • Schleifen - Aktionen
        • Spieler - Set (Picked player) Aktuelles Holz to 50
        • Set RandInt = (Random integer number between 1 and HeroCount)
        • Einheit - Create 1 HeroType[RandInt] for (Picked player) at ((Picked player) start location) facing Vorgabe für Gebäude-Ausrichtung degrees
        • Set HeroType[RandInt] = HeroType[HeroTypeCount]
        • Set HeroTypeCount = (HeroTypeCount - 1)

Thanks!
 
Spielergruppe - Pick every player in (All players matching (((Picked player) slot status) Gleich Spielt)) and do (Actions)

should be

Spielergruppe - Pick every player in (All players matching (((Matching player) slot status) Gleich Spielt)) and do (Actions)

Hey, thanks for your quick reply!
Did that and tried it in the World Editor. Somehow blue also got a champ. Is that a WE bug or?
 
Status
Not open for further replies.
Back
Top