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. Rubbed the right way, the genie is out of its lamp! The 12th Concept Art Contest Results have been announced.
    Dismiss Notice
  4. The Lich King has a new champion. The results for the 19th Icon Contest are here!
    Dismiss Notice
  5. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  6. 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.

Why this trigger doesnt work ??

Discussion in 'World Editor Help Zone' started by Nosiaz, Mar 27, 2020 at 12:26 AM.

  1. Nosiaz

    Nosiaz

    Joined:
    Feb 28, 2020
    Messages:
    29
    Resources:
    0
    Resources:
    0
    Hi, i have do this quest for a RPG, a pretty simple thing : kill 50 of this mobs, but the multibord just work for the frist kill, then the number 1 doesnt change

    and the integer does not seem to work for end the quest, why ?

    Thx a lot
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      15.5 KB
      Views:
      9
    • 2.PNG
      2.PNG
      File size:
      21.5 KB
      Views:
      9
    • 3.PNG
      3.PNG
      File size:
      10.8 KB
      Views:
      9
    • 4.PNG
      4.PNG
      File size:
      22.6 KB
      Views:
      9
  2. Strydhaizer

    Strydhaizer

    Joined:
    Feb 28, 2013
    Messages:
    1,750
    Resources:
    4
    Models:
    1
    Maps:
    1
    Template:
    2
    Resources:
    4
    How To Post Your Trigger

    Please copy your trigger as text and paste it here inside this BBCode.

    Code (Text):
     [TRIGGER] <your trigger here> [/TRIGGER]
    Put your Faming Bandit 1 trigger in "Then (Actions)" in your fourth trigger not in "Else (Actions)", see if that works.
     
    Last edited: Mar 27, 2020 at 6:57 AM
  3. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    2,780
    Resources:
    1
    Maps:
    1
    Resources:
    1
    That's because you are turning off the third trigger with your forth trigger after the first kill. This is how it should be :
    • Farming Bandits
      • Events
        • Unit - A unit Dies
      • Conditions
        • (Owner of (Triggering unit)) Equal Neutral Hostile
        • (Unit-type of (Triggering unit)) Equal to Bandit
      • Actions
        • Set VariableSet CompteDeKillBandit = (CompteDeKillBandit + 1)
        • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (String(CompteDeKillBandit))
        • Trigger - Run Fin de farm Bandit <gen> (checking conditions)
    • Fin de farm Bandit
      • Events
      • Conditions
        • CompteDeKillBandit Greater or Equal to 50
      • Actions
        • Trigger - Turn off (This trigger)
        • -------- Do what you want here --------