• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Why this trigger doesnt work ??

Status
Not open for further replies.
Level 4
Joined
Feb 28, 2020
Messages
48
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
 

Attachments

  • 1.PNG
    1.PNG
    15.5 KB · Views: 24
  • 2.PNG
    2.PNG
    21.5 KB · Views: 23
  • 3.PNG
    3.PNG
    10.8 KB · Views: 21
  • 4.PNG
    4.PNG
    22.6 KB · Views: 24
Level 28
Joined
Feb 18, 2014
Messages
3,578
kill 50 of this mobs, but the multibord just work for the frist kill, then the number 1 doesnt change
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 --------
 
Status
Not open for further replies.
Top