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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. 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.

[Trigger] Too many Units create

Discussion in 'Triggers & Scripts' started by Neltharion, Jun 26, 2017.

  1. Neltharion

    Neltharion

    Joined:
    Jan 3, 2015
    Messages:
    53
    Resources:
    0
    Resources:
    0
    hi i try create a ambush buit when I try to trigger Create this trigger not create 1 unit but 7

    [​IMG]
     
  2. Tasyen

    Tasyen

    Joined:
    Jul 18, 2010
    Messages:
    1,513
    Resources:
    18
    Tools:
    2
    Maps:
    3
    Spells:
    8
    Tutorials:
    4
    JASS:
    1
    Resources:
    18
    Your Trigger has no Event therefore i Guess he is executed by some other Trigger.
    Do you check in the Trigger calling this one, if the ambush Trigger is on?

    Edit: if you use the condition used execution of trigger; you could simply add "Is This trigger on" inside Conditions. That would prevent executing it by calls checking the conditions without putting each call in an If-Else.
    • Conditions
      • ((This trigger) is on) Equal True
     
    Last edited: Jun 26, 2017