- Joined
- Sep 28, 2004
- Messages
- 365
Hi all,
Normally making a triggered wave spell or charge spell requires to use periodic event. Most people use any number <= 0.05sec.
I tried to create a charge spell, the charge works perfectly. But when i add nearby enemy units in group that is near the caster that use charge, and i damage the group. The enemy units who are in the group will get damage too many times because of the periodic event.
Is there a way to limit so that the enemy in group will only be damage once? For example I want it to do 400damage to nearby enemy units in a line. Not 400 multiply 3-4 times because of the periodic event.
Also i do not want all units in group to be damage instantly, that is why i didn't damage the group only when the charge ends. I want them to get damage when they are near the caster or effect. Something like carrion swarm where it will only damage every unit in the area once and only damages them when the effect passes by not instantly. Or something like shockwave.<< correct me if i am wrong. I m trying to do something like this.
Also i would like to know if i use
Too long Didn't Read: Damage problem in a charge spell, damaging units in group too many times because of periodic event that happens too fast. How do i fix this?
No idea where is the trigger tag >< sorry.
Sorry for bad English, i am trying my best to explain my problem ><
Help or tips will be much appreciated.
Normally making a triggered wave spell or charge spell requires to use periodic event. Most people use any number <= 0.05sec.
I tried to create a charge spell, the charge works perfectly. But when i add nearby enemy units in group that is near the caster that use charge, and i damage the group. The enemy units who are in the group will get damage too many times because of the periodic event.
Is there a way to limit so that the enemy in group will only be damage once? For example I want it to do 400damage to nearby enemy units in a line. Not 400 multiply 3-4 times because of the periodic event.
Also i do not want all units in group to be damage instantly, that is why i didn't damage the group only when the charge ends. I want them to get damage when they are near the caster or effect. Something like carrion swarm where it will only damage every unit in the area once and only damages them when the effect passes by not instantly. Or something like shockwave.<< correct me if i am wrong. I m trying to do something like this.
Also i would like to know if i use
-
Set Group = (Units within 500 of caster matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Owner of (Matching unit)) is an enemy of (Owner of (caster))) Equal to True))))
Too long Didn't Read: Damage problem in a charge spell, damaging units in group too many times because of periodic event that happens too fast. How do i fix this?
No idea where is the trigger tag >< sorry.
Sorry for bad English, i am trying my best to explain my problem ><
Help or tips will be much appreciated.
Last edited: