Hi I want to make a basic Trigger that can count specific unit then turn off trigger like this.
I know this trigger is all wrong and everything, but it an example. I like the trigger to count specific unit dying to certian number then it activate Trigger turn off.
I'm hoping for a simple counting trigger.
-
unit count
-
Events
- Unit - A unit owned by Player 12 (Brown) Dies
- Conditions
-
Actions
- Unit - Set the custom value of (Dying unit) to 1
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
- Trigger - Turn off respawn Rat slime <gen>
-
Loop - Actions
-
Events
I know this trigger is all wrong and everything, but it an example. I like the trigger to count specific unit dying to certian number then it activate Trigger turn off.
I'm hoping for a simple counting trigger.