give ability to constructed constructed?

Discussion in 'World Editor Help' started by sunshinex3, Feb 12, 2018.

  1. sunshinex3

    sunshinex3 You can change this now in User CP.

    Ratings:
    +4 / 0 / -0
    Can't give ability to constructed structure with trigger...
    is that hardcoded?

    Trigger:
    • Pylon Aura
      • Events
        • Unit - A unit Finishes construction
      • Conditions
        • Or - Any (Conditions) are true
          • Conditions
            • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss NerazimDaelaam)
            • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss PurifierDaelaam)
            • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss Tal'darimDaelaam)
            • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss khalai Daelaam)
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss khalai Daelaam)
          • Then - Actions
            • Unit - Add Daelaam (khalai Protoss) to (Constructed structure)
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss PurifierDaelaam)
              • Then - Actions
                • Unit - Add Daelaam (Purifiers Protoss) to (Constructed structure)
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss NerazimDaelaam)
                  • Then - Actions
                    • Unit - Add Daelaam (Nerazim Protoss) to (Constructed structure)
                  • Else - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Unit-type of (Constructed structure)) Equal to Pylon (Protoss Tal'darimDaelaam)
                      • Then - Actions
                        • Unit - Add Daelaam (Tal'darim Protoss) to (Constructed structure)
                      • Else - Actions
                        • Do nothing


    this isn't working and i don't know why...
     
  2. FhelZone

    FhelZone Have a drink of a nice cold mellowberry juice!

    Ratings:
    +103 / 0 / -0
    Have you tried putting the ifs beneath each other? You don't have to put the other ifs below the else, do nothing is also unnecessary. Try removing the nested ifs first.
     
  3. sunshinex3

    sunshinex3 You can change this now in User CP.

    Ratings:
    +4 / 0 / -0
    its strange i have it works for every one but the purifier pylon, no idea why the pylons are duplicates with different names, and their auras are identical with different names.... the buffs are identical as well.

    the trigger above works for every thing but purifier pylon (third one down)

    and with out the ifs it works for all of them but the purifier pylon just strange perhaps this is corruption?
     

Share This Page