How do I make a research enable/disable certain units and structures?

Discussion in 'World Editor Help' started by Jealot, Jul 9, 2018.

  1. Jealot

    Jealot New Member

    Ratings:
    +0 / 0 / -0
    Say I make a research available in the Town Hall that enables the training of new units and building of new buildings, but disables the training of other units and buildings. How would I do that?

    I tried a Trigger like this:

    Events - A Unit Finishes an upgrade

    Conditions - (Researched Tech-type) Equal to DummyResearch

    Actions - Player - Make DummyBuilding Unavailable for training/construction by (Triggering Player)

    But it did not work.
     
    Last edited: Jul 9, 2018
  2. Pyrogasm

    Pyrogasm There are some who would use any excuse to ban me.

    Ratings:
    +134 / 0 / -0
    There was no triggering player for this event. Using "Owner of (Triggering Unit)" would have worked. I myself always hate finding unanswered questions like this when searching through dead forums, so here's to hoping this will one day be useful to someone.
     

Share This Page