I've made 2 trigger. and trigger A create unit A while trigger B create unit B.
Trigger A
Event- Unit cst skill
Condition - Skill = A
Action
- Cre8 unit A for owning of unit A
- Wait 5 sec
- Remove LAST CREATED UNIT
Trigger B
Event- Unit cst skill
Condition - Skill = B
Action
- Cre8 unit A for owning of unit B
- Wait 5 sec
- Remove LAST CREATED UNIT
If i use cast skill A first, then cast skill B, Unit B will be gone but unit A is still there. is there anyway to prevant this? I know i can use variable.. but if i do so... there will a lot of them since there are a lot of skill require dummy unit.
or can some1 teach me using custom script to prevant this bug.
Will same thing happen to CASTING unit too?
Thx
Trigger A
Event- Unit cst skill
Condition - Skill = A
Action
- Cre8 unit A for owning of unit A
- Wait 5 sec
- Remove LAST CREATED UNIT
Trigger B
Event- Unit cst skill
Condition - Skill = B
Action
- Cre8 unit A for owning of unit B
- Wait 5 sec
- Remove LAST CREATED UNIT
If i use cast skill A first, then cast skill B, Unit B will be gone but unit A is still there. is there anyway to prevant this? I know i can use variable.. but if i do so... there will a lot of them since there are a lot of skill require dummy unit.
or can some1 teach me using custom script to prevant this bug.
Will same thing happen to CASTING unit too?
Thx
Last edited: