how do i make a spell that targets a unit and after you cast it, it auto casts for you until you cancel it by walking away? :3
U mean that after u cast it on the unit, the next time u use the spell, the target will be that unit again. Is it right?
how do i make a spell that targets a unit and after you cast it, it auto casts for you until you cancel it by walking away? :3
The above tutorial said:Disable Other Abilities: The Disable Other Abilities feature will turn off the casting unit's other abilities during the Casting time and Duration.
Follow Through Time: Follow Through Time can determine whether or not the ability is channeling or not. If we want it to be channeling, set the Follow Through Time to the Duration of the spell and remember to set Disable Other Abilities to false.
Target Type: Target Type is the type of target you select. If you want it to be instant meaning no target, if you target a unit,
ground, or both.
I have a solution:
1st, u need to create 2 ability, one is ur main ability, the other is to change the target. Then u create these trigger:
- Target Select
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (Your Main Ability)
- Actions
- Set Caster = (Triggering unit)
- Set Target = (Target unit of ability being cast)
- Trigger - Add to Target Lock <gen> the event (Unit - Caster Starts the effect of an ability)
- Trigger - Add to Target Die <gen> the event (Unit - Target Dies)
- Trigger - Add to Change Target <gen> the event (Unit - Caster Starts the effect of an ability)
- Trigger - Turn on Target Lock <gen>
- Trigger - Turn off (This trigger)
- Target Lock
- Events
- Conditions
- (Ability being cast) Equal to (Your Main Ability)
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Target Not equal to No unit
- Then - Actions
- Unit - Order (Triggering unit) to Stop
- Unit - Order (Triggering unit) to Neutral Alchemist - Acid Bomb Target
- Else - Actions
- Change Target
- Events
- Conditions
- (Ability being cast) Equal to (Your Change Target Ability)
- Actions
- Trigger - Turn on Target Select <gen>
- Trigger - Turn off Target Lock <gen>
- Trigger - Turn off (This trigger)
- Target Die
- Events
- Conditions
- Actions
- Set Target = No unit
- Trigger - Turn on Target Select <gen>
- Trigger - Turn off Target Lock <gen>
- Trigger - Turn off (This trigger)
They're all easy for u. .
Hmm. If it's a normal channel ability, I would not create those triggers. I think he want the ability that after u cast it on the unit, the next time u use the spell, the target will be that unit again (if it is like this, then it's absolutely not a channelling ability and my trigger could work for this). But may be I misunderstand him.
hmm i don't know, please do post whatever you think is correct after i explained again :3
Basically, you cast a the spell namely called (air bolt) at a unit, after you cast it , if you do not move or cast the ability at another unit, the ability will be casted again at the unit that you casted on earlier and if you move or cast the ability at another unit, the whole process repeats
Air bolt to unit > No interuptions > continuing casting
Air bolt to unit > interuption > if interuption = recast at another unit > repeat air bolt to unit
Air bolt to unit > interuption > if interuption = stop > do nothing
hmm i don't know, please do post whatever you think is correct after i explained again :3
Basically, you cast a the spell namely called (air bolt) at a unit, after you cast it , if you do not move or cast the ability at another unit, the ability will be casted again at the unit that you casted on earlier and if you move or cast the ability at another unit, the whole process repeats
Air bolt to unit > No interuptions > continuing casting
Air bolt to unit > interuption > if interuption = recast at another unit > repeat air bolt to unit
Air bolt to unit > interuption > if interuption = stop > do nothing
hmm yeah, literally cast storm bolts 100 times if the conditions are not met,
conditions = unit being cast is not dead , unit has a charge of a item called air rune
and yeah, is it possible to do this without triggering ? i got a feeling that i don't have to O: