I have an ability that is of the type "Effect - Target" which applies force to draw the target toward the caster. The force is applied via a 'create persistent' effect (Which I believe is the only way to use the Apply Force Effect). What I would like to achieve is something similar to what I have already, but I would like the persistent effect (the force) to run infinitely until canceled. The problem is an "Effect- Target" Ability is not inherently cancelable. I would like the ability to be cancelable during the persistent effect. So basically I need this ability to require a target but toggle when used. So when the ability is active, the target is dragged along behind the caster via the force effect. Any ideas on how I could achieve this would be greatly appreciated. My other problem is getting the 'create persistent - count duration' to run infinitely.
Check Nova's Domination. All you need to do is to apply a behavior to the caster and give the persistent a validator that checks for that behavior. The caster unit has a Cancel ability (instant type) that can only be used when the caster has the behavior and what it does is to remove that behavior.
Thanks, I'll try that. Do you know how I can get the persistent period count to run infinitely? I thought it would if you set the amount to 0, but the effect doesnt work when I set it to 0.
I have an ability that is of the type "Effect - Target" which applies force to draw the target toward the caster. The force is applied via a 'create persistent' effect (Which I believe is the only way to use the Apply Force Effect). What I would like to achieve is something similar to what I have already, but I would like the persistent effect (the force) to run infinitely until canceled. The problem is an "Effect- Target" Ability is not inherently cancelable. I would like the ability to be cancelable during the persistent effect. So basically I need this ability to require a target but toggle when used. So when the ability is active, the target is dragged along behind the caster via the force effect. Any ideas on how I could achieve this would be greatly appreciated. My other problem is getting the 'create persistent - count duration' to run infinitely.
Check Nova's Domination. All you need to do is to apply a behavior to the caster and give the persistent a validator that checks for that behavior. The caster unit has a Cancel ability (instant type) that can only be used when the caster has the behavior and what it does is to remove that behavior.
@SoulFilcher: Go
Thanks, I'll try that. Do you know how I can get the persistent period count to run infinitely? I thought it would if you set the amount to 0, but the effect doesnt work when I set it to 0.
"Persist Until Destroyed" flag
@Eiviyn: Yeah, even better. Will it automatically cancel the effect if the target dies? May need a validator for that.