1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Waygate thread

Discussion in 'Triggers & Scripts' started by Ragnar9, May 16, 2019.

Tags:
  1. Ragnar9

    Ragnar9

    Joined:
    Jan 15, 2018
    Messages:
    86
    Resources:
    0
    Resources:
    0
    This dual trigger is not working. I dont want the pits of Isengard to be available until a research is complete, however the waygate is not being enabled for some reason.
    • Start
      • Events
        • Map initialization
      • Conditions
      • Actions
        • Neutral Building - Disable Pits of Isenguard 0928 <gen>
        • Neutral Building - Disable Pits of Isenguard 0945 <gen>
        • Neutral Building - Disable Pits of Isenguard 0951 <gen>
        • Neutral Building - Disable Pits of Isenguard 0947 <gen>


    • Burnthem
      • Events
        • Unit - A unit owned by Player 22 (Snow) Finishes research
      • Conditions
        • (Researched tech-type) Equal to Burn them All
      • Actions
        • Neutral Building - Enable Pits of Isenguard 0928 <gen>
        • Neutral Building - Enable Pits of Isenguard 0945 <gen>
        • Neutral Building - Enable Pits of Isenguard 0951 <gen>
        • Neutral Building - Enable Pits of Isenguard 0947 <gen>


    Any tips or ideas? Worst case i can just make the waygates available at the start.
     
  2. Tasyen

    Tasyen

    Joined:
    Jul 18, 2010
    Messages:
    1,330
    Resources:
    17
    Tools:
    2
    Maps:
    2
    Spells:
    8
    Tutorials:
    4
    JASS:
    1
    Resources:
    17
    Try: setting the destination point of that waygates.
     
  3. Ragnar9

    Ragnar9

    Joined:
    Jan 15, 2018
    Messages:
    86
    Resources:
    0
    Resources:
    0
    Dang man thought that would work but still no luck.
    • Burnthem
      • Events
        • Unit - A unit owned by Player 22 (Snow) Finishes research
      • Conditions
        • (Researched tech-type) Equal to Burn them All
      • Actions
        • Neutral Building - Enable Pits of Isenguard 0928 <gen>
        • Neutral Building - Set Pits of Isenguard 0928 <gen> destination to (Center of IsenRU <gen>)
        • Neutral Building - Enable Pits of Isenguard 0945 <gen>
        • Neutral Building - Set Pits of Isenguard 0945 <gen> destination to (Center of IsenLU <gen>)
        • Neutral Building - Enable Pits of Isenguard 0951 <gen>
        • Neutral Building - Set Pits of Isenguard 0951 <gen> destination to (Center of IsenRA <gen>)
        • Neutral Building - Enable Pits of Isenguard 0947 <gen>
        • Neutral Building - Set Pits of Isenguard 0947 <gen> destination to (Center of IsenLA <gen>)
     
  4. loktar

    loktar

    Joined:
    Nov 2, 2004
    Messages:
    715
    Resources:
    25
    Models:
    3
    Icons:
    16
    Packs:
    1
    Tools:
    2
    Spells:
    2
    Tutorials:
    1
    Resources:
    25
    Are you sure the pits aren't disabled already at map init? Disabling them when they already are disabled may actually require you to enable them twice afterwards.
    I know this is the case for some things like hiding/disabling abilities, but not sure about waygates.
     
  5. Zepher

    Zepher

    Joined:
    May 14, 2019
    Messages:
    264
    Resources:
    0
    Resources:
    0
    Some triggers will not fire if their event is map initialization, maybe this is causing some of your problems, try setting the event to time elapsed 1 second
     
  6. Wrda

    Wrda

    Joined:
    Nov 18, 2012
    Messages:
    1,128
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Does this unit even have waygate abilities? If not, this won't work one bit.
     
  7. Cespie

    Cespie

    Joined:
    May 21, 2019
    Messages:
    344
    Resources:
    0
    Resources:
    0
    1. Did you base this unit (Pits of Isenguard) on a waygate? Otherwise, it may be missing key characteristics to make it operate as a waygate in the first place.
    2. There is no (U) in Isengard. I get that this may be intentional though.
    3. Try to remove disable at the map initialization thing, and just set the destination instead.
    4. Why are you tracking this with research? Are you certain that this event is even being triggered? Try including a text message in the burnthem trigger that says "Triggered". Then check to see if that message ever pops up when player 23 finishes researching. If it doesn't, your event is broken.
    5. I am assuming that you are not player 23 here. Computer players will not research custom upgrades unless they are explicitly told to do so. This may be possible to configure in the AI, although I have had mixed results with that, but otherwise, you can order it through a trigger. But again, why aren't you just using a timer for this instead?