• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Unit finishes as upgrade event

Status
Not open for further replies.
Level 3
Joined
Aug 27, 2019
Messages
44
Can you help me with this trigger? I believe there is small mistake that I cant solve. Idea is that quest is completed when chosen upgrade is researched.

  • Upgrade finished
    • Events
      • Unit - A unit owned by Player 22 (Snow) Finishes an upgrade
    • Conditions
      • (Researched tech-type) Equal to Iron Forged Swords
    • Actions
      • Quest - Mark Q_Upgrade as Completed
      • Quest - Display to (All players) the Quest Completed message: |cffffcc00MISSION A...
      • Wait 5.00 game-time seconds
      • Game - Victory Player 22 (Snow) (Skip dialogs, Skip scores)
 
Level 3
Joined
Aug 27, 2019
Messages
44
Pyrogasm is right. So there is difference between "upgrade" and "research".

Working version of trigger:

  • Upgrade finished
    • Events
      • Unit - A unit owned by Player 22 (Snow) Finishes research
    • Conditions
      • (Researched tech-type) Equal to Iron Forged Swords
    • Actions
      • Quest - Mark Q_Upgrade as Completed
      • Quest - Display to (All players) the Quest Completed message: |cffffcc00MISSION A...
      • Wait 5.00 game-time seconds
      • Game - Victory Player 22 (Snow) (Skip dialogs, Skip scores)
SOLVED
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
An upgrade is a unit upgrading to another unit type such as a Town Hall upgrading to a Keep.
A research is a unit researching a technology such as a Castle researching Backpack.

With StarCraft II they changed the term of upgrade to morph to be less confusing.
 
Status
Not open for further replies.
Top