• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

random is constant

Status
Not open for further replies.
Level 27
Joined
Dec 3, 2018
Messages
897
  • Kel bonus
    • Events
      • Unit - Altar of Elders 0097 <gen> Dies
    • Conditions
    • Actions
      • Set VariableSet Random = (Random integer number between 1 and 3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Random Equal to 1
        • Then - Actions
          • Player - Set the current research level of Necromancer Adept Training to ((Current research level of Necromancer Adept Training for Player 3 (Teal)) + 2) for Player 3 (Teal)
          • Quest - Display to (All players) the New Item Received message: Bonus: Necromancer ...
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Random Equal to 2
            • Then - Actions
              • Trigger - Turn on Cultists <gen>
              • Quest - Display to (All players) the New Item Received message: Bonus: Cultist recr...
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Random Equal to 3
                • Then - Actions
                  • Unit - Set level of Raise Dead for Necromancer 0021 <gen> to 3
                  • Unit - Remove Raise Dead from Necromancer 0021 <gen>
                  • Unit - Add Raise Undead to Necromancer 0021 <gen>
                  • Quest - Display to (All players) the New Item Received message: Bonus: Zombie Spawn...
                • Else - Actions
This trigger gives always a constant answer (3) and it should't. what do I do?
 
Status
Not open for further replies.
Top