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

[Trigger] Tech Upgrade trigger Help

Status
Not open for further replies.
Level 4
Joined
Jul 22, 2012
Messages
72
Ok So here is my Trigger

Untitled Trigger 002
Events
Map initialization
Conditions
(Researched tech-type) Equal to Mastery
Actions
_____________________________________________
So I want the action to be if mastery is researched then you can't research (Mastery2) And (Mastery 3).

How?
 
Level 14
Joined
Sep 17, 2009
Messages
1,297
From what i could understand you want a research to do the opposite what it usually does; disable things :p

Here is my idea: You have to create a requirement tech for the Mastery1 and Mastery2
Lets Call it: "You already have a Mastery"

Triggers:
  • Mastery Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Set the current research level of "You already have a Mastery" to 1 for (Picked Player)
  • Mastery Acquired
    • Events
      • Unit - A unit Finishes research
    • Conditions
      • (Researched tech-type) Equal to Mastery
    • Actions
      • Player - Set the current research level of "You already have a Mastery" to 0 for (Owner of (Triggering unit))
 
Status
Not open for further replies.
Top