- Joined
- Mar 27, 2008
- Messages
- 8,035
Straight to the point, how to completely remove locust from a unit ?
I tried with this trigger it worked well
1. You cannot click-select the unit, you can only drag-select the unit.
2. Other unit/self can't target the unit (Target-unit type spell)
How to completely remove these problems ?
Test map is below, try it.
I tried with this trigger it worked well
-
Locust Removal
-
Events
- Unit - A unit Starts the effect of an ability
- Conditions
-
Actions
- Custom script: local unit Caster = GetTriggerUnit()
- Custom script: call UnitAddAbility(Caster, 'Aloc')
- Custom script: call ShowUnit(Caster, false)
- Custom script: call UnitRemoveAbility(Caster, 'Aloc')
- Custom script: call ShowUnit(Caster, true)
- Custom script: call UnitAddAbility(Caster, 'A001')
- Unit - Order (Triggering unit) to Night Elf Druid Of The Claw - Bear Form
- Custom script: call UnitRemoveAbility(Caster, 'A001')
- Custom script: set Caster = null
-
Events
1. You cannot click-select the unit, you can only drag-select the unit.
2. Other unit/self can't target the unit (Target-unit type spell)
How to completely remove these problems ?
Test map is below, try it.