• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Shared Upgrades

Status
Not open for further replies.
Level 4
Joined
Aug 14, 2007
Messages
66
So I am trying to make researches and upgrade techs something that is shared among all units of a team of players. I wrote this trigger but it doesnt seem to work. Any ideas why or suggestions for how to accomplish this?


  • Research
    • Events
      • Unit - A unit Finishes research
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Researching unit)) Equal to Player 1 (Red)
          • (Owner of (Researching unit)) Equal to Player 2 (Blue)
          • (Owner of (Researching unit)) Equal to Player 3 (Teal)
          • (Owner of (Researching unit)) Equal to Player 4 (Purple)
          • (Owner of (Researching unit)) Equal to Player 5 (Yellow)
          • (Owner of (Researching unit)) Equal to Player 11 (Dark Green)
        • Then - Actions
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 1 (Red)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 2 (Blue)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 3 (Teal)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 4 (Purple)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 5 (Yellow)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 11 (Dark Green)
        • Else - Actions
          • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Researching unit)) Equal to Player 6 (Orange)
          • (Owner of (Researching unit)) Equal to Player 7 (Green)
          • (Owner of (Researching unit)) Equal to Player 8 (Pink)
          • (Owner of (Researching unit)) Equal to Player 9 (Gray)
          • (Owner of (Researching unit)) Equal to Player 10 (Light Blue)
          • (Owner of (Researching unit)) Equal to Player 12 (Brown)
        • Then - Actions
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 6 (Orange)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 7 (Green)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 8 (Pink)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 9 (Gray)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 10 (Light Blue)
          • Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for (Owner of (Researching unit))) for Player 12 (Brown)
        • Else - Actions
          • Do nothing
 
Status
Not open for further replies.
Top