• 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.

[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
 
Status
Not open for further replies.
Top