Help With Triggering

Status
Not open for further replies.
Level 2
Joined
Apr 18, 2014
Messages
8
Can someone pliss help me make a trigger
that will count how many unit has been killed
Example: If I already kill 60 unit I will get some gift
and if I already kill 5 hero I will get special rare gift
#help pliss
#GUI only
 
#stopusingthoseretardedhashtags

  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to False
        • Then - Actions
          • Set units_killed = (units_killed + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • units_killed Greater than 60
            • Then - Actions
              • -------- give item here --------
            • Else - Actions
        • Else - Actions
      • -------- --------------------- --------
      • -------- --------------------- --------
      • -------- --------------------- --------
      • -------- --------------------- --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to True
        • Then - Actions
          • Set heroes_killed = (heroes_killed + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • heroes_killed Greater than 5
            • Then - Actions
              • -------- give item here --------
            • Else - Actions
        • Else - Actions
 
#stopusingthoseretardedhashtags

  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to False
        • Then - Actions
          • Set units_killed = (units_killed + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • units_killed Greater than 60
            • Then - Actions
              • -------- give item here --------
            • Else - Actions
        • Else - Actions
      • -------- --------------------- --------
      • -------- --------------------- --------
      • -------- --------------------- --------
      • -------- --------------------- --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to True
        • Then - Actions
          • Set heroes_killed = (heroes_killed + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • heroes_killed Greater than 5
            • Then - Actions
              • -------- give item here --------
            • Else - Actions
        • Else - Actions

lol #
 
Status
Not open for further replies.
Back
Top