Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Trigger] Trigger Help

Discussion in 'Triggers & Scripts' started by Silverfish423, Aug 17, 2009.

  1. Silverfish423

    Silverfish423

    Joined:
    Dec 13, 2008
    Messages:
    912
    Resources:
    0
    Resources:
    0
    Hello, I need help with a trigger I am making. It is probably a simply trigger, but I am not very good with triggers. Anyways, I want it where when Light Blue captures Wyrmrest Temple, a message appears saying: "The Lich King has conquered the Wyrmrest Temple! He can now train new, horrific versions of undead dragons." This is what I have so far:

    • Wyrmrest Temple
      • Events
        • Unit - Wyrmrest Temple 0749 <gen> Changes owner
      • Conditions
      • Actions
        • Game - Display to (All players) the text: The Lich King has c...
        • Trigger - Turn off Wyrmrest Temple <gen>


    I cannot figure out the Condition. I want it something like..... "owner equal to Light Blue", but I cannot figure it out. Thanks!
     
  2. El_Suave

    El_Suave

    Joined:
    Aug 2, 2007
    Messages:
    69
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Do you have the trigger that makes the ownership change to lightblue?

    Can't you just add the actions you have in that triggers to the end of the previous trigger? It would make things much easier.
     
  3. killer1390

    killer1390

    Joined:
    Mar 19, 2008
    Messages:
    90
    Resources:
    0
    Resources:
    0
    I think this will do it.
    • ((Owner of (Picked unit)) controller) Equal to (Player 10 (Light Blue) controller)
     
  4. DarkAngelAzazel

    DarkAngelAzazel

    Joined:
    Sep 14, 2008
    Messages:
    1,308
    Resources:
    0
    Resources:
    0
    Well I don't think so :/


    1. When is the trigger supposed to run?
    - When the unit is destroyed
    - When blue comes near?
    - When the unit changes owner by "charm"?

    --> You will have to edit the event.

    2. The condition depends on the event.
    - Event=Unit dies - "owner of dying unit equal to (player 10 (light blue))"
    - Event=Unit comes near - "owner of ... unit equal to (player 10 (light blue))"

    Basicly you can try "owner of triggering unit equal to"
     
  5. Silverfish423

    Silverfish423

    Joined:
    Dec 13, 2008
    Messages:
    912
    Resources:
    0
    Resources:
    0
    yes, I do have a trigger that involves the "wyrmrest temple" to change player control. i think i may do what el suave said and just tack the message on at the end of it. i didnt want to do it that way, but i suppose that is the way it has to be
     
  6. El_Suave

    El_Suave

    Joined:
    Aug 2, 2007
    Messages:
    69
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I can't really figure out why the trigger wouldn't work, unless its clashing with some other trigger.

    The only alternative I can think of:
    -Have the new trigger intially off
    -Add an action at the end of the previous trigger that runs this disabled trigger.
     
  7. Silverfish423

    Silverfish423

    Joined:
    Dec 13, 2008
    Messages:
    912
    Resources:
    0
    Resources:
    0
    i decided that i will just tack the message on to the end of my unit transfer trigger.