Owk i made a spell. that esentially consists of 2 parts.
1st part is a persistent spell that triggers a zealot charge on "effect - initial" and when the charge stops this triggers the charge "effect - final" which triggers a "destroy persistent" effect that destroys the peristent.
this triggers the 2nd part: "destroy persistent" triggers the persistent "effect - final" which triggers a set effect.
now this works fine i made a ability that starts the persistent effect. but now i want to change the range. but not just max range but add a minimum range so i look at the validator fields that are used.
Charge Minimum Trigger Distance Copy range = 0.2
Charge Max Distance (Unnamed) Copy range = 8
Charge Min Distance (unnamed) Copy range = 0.2
The max works perfectly, but what seems to happen now is that the charge stops halfway (or mb even sooner) and it triggers the set effects when the charge stops. This is not what i want i want the zealot to impact the target and then fire the effects (cause one of them is a stun and its just silly its get stunned 1 second b4 impact). Just to be complete i added the validators to both the zelaot charge copy as the persistent effect. So can anyone explain what these validators do or what they should do. or give me some insight in to validators themselfs so i can make my own instead of trying to understand the copys.
Double check that the behavior for Charge has it's duration set high enough. If you increase the max charge distance enough it may hit the duration max before the Zealot finishes it's charge, which would end the charge early, validators or not.
owk thanks for your reply. And i did modify the duration to 4.5 (gametime) seconds. I even changed it up to 10 seconds but it still stops halfway.
has anyone made his/her own validators (of this type)?
:Edit: i slowed my zealot down a bit and figured out that the stun + all the rest gets applied right away. zo the behaviour Zealot charging gets applied but expires / gets destroyed right away.
so its not a validator issue... but im getting nowhere with this now :S im stuck 4 days now trying to make 1 abilty work... if someone can help me out here i could make others in a similar way and hopefully it will go by itself.
Actually, that sounds exactly like a validator issue. If a validator (in the Behavior - Validator (Removal) section of the behavior) is returning false immediately, it will stop the behavior right away.
Can you do what YiffMaster requested and post a test map with your ability/behaviors added?
Owk i made a spell. that esentially consists of 2 parts.
now this works fine i made a ability that starts the persistent effect. but now i want to change the range. but not just max range but add a minimum range so i look at the validator fields that are used.
The max works perfectly, but what seems to happen now is that the charge stops halfway (or mb even sooner) and it triggers the set effects when the charge stops. This is not what i want i want the zealot to impact the target and then fire the effects (cause one of them is a stun and its just silly its get stunned 1 second b4 impact). Just to be complete i added the validators to both the zelaot charge copy as the persistent effect. So can anyone explain what these validators do or what they should do. or give me some insight in to validators themselfs so i can make my own instead of trying to understand the copys.
@Roflincopter: Go
Double check that the behavior for Charge has it's duration set high enough. If you increase the max charge distance enough it may hit the duration max before the Zealot finishes it's charge, which would end the charge early, validators or not.
owk thanks for your reply. And i did modify the duration to 4.5 (gametime) seconds. I even changed it up to 10 seconds but it still stops halfway.
has anyone made his/her own validators (of this type)?
:Edit: i slowed my zealot down a bit and figured out that the stun + all the rest gets applied right away. zo the behaviour Zealot charging gets applied but expires / gets destroyed right away.
so its not a validator issue... but im getting nowhere with this now :S im stuck 4 days now trying to make 1 abilty work... if someone can help me out here i could make others in a similar way and hopefully it will go by itself.
Post a test map with your ability?
Actually, that sounds exactly like a validator issue. If a validator (in the Behavior - Validator (Removal) section of the behavior) is returning false immediately, it will stop the behavior right away.
Can you do what YiffMaster requested and post a test map with your ability/behaviors added?