- Joined
- Aug 12, 2008
- Messages
- 350
I creating an ability that it takes to charge towards a target unit thus I add locust to the unit. Then remove it after casting.
The problem is after I remove the locust ability, I can't select the caster but the enemies able to the caster. Weird!
I used the following functions because I can't find the locust ability in adding ability through trigger. Thus, I used trigger and then convert it to custom text and then I change the ability ID.
The problem is after I remove the locust ability, I can't select the caster but the enemies able to the caster. Weird!
I used the following functions because I can't find the locust ability in adding ability through trigger. Thus, I used trigger and then convert it to custom text and then I change the ability ID.
- Custom script: call UnitAddAbilityBJ( 'Aloc', udg_C_caster[udg_C_index2] )
- Custom script: call UnitRemoveAbilityBJ( 'Aloc', udg_C_caster[udg_C_index3] )