Hey guys,
I made a Wall of Fire spell. But if the unit that casts it changes directions the Wall of Fire does so as well. The spells works like this Persist(every .5 seconds)->Persist(makes the wave)->Search Area-> Damage. I chose this order that so each wave hits the target only once(using markers). I know if I do Persist(makes the wave)->Persist(every .5 seconds) and you won't have the problem. But this way the unit can be hit by the same spells multi time(b/c of the radius). I attached the map so guys can look at it.
You could use a workaround with buffs instead of markers, but this would maybe not the best thing to do, if multiple instances of the spell can be cast simultaneously somehow.
There should be some way to somehow preserve the origin point somehow, maybe use another offset fallback? Dunno..
I have thought of something like that, using buffs:
Persist(makes the wave)->Persist(every .5 seconds)->apply behaviour (last 0.49 seconds) with max stack of 1. This would make it so that only one Persist(every .5 seconds) would be applied.
But I was hoping that I just made a mistake somewhere, instead of having to do a workaround like this one.
Hey guys, I made a Wall of Fire spell. But if the unit that casts it changes directions the Wall of Fire does so as well. The spells works like this Persist(every .5 seconds)->Persist(makes the wave)->Search Area-> Damage. I chose this order that so each wave hits the target only once(using markers). I know if I do Persist(makes the wave)->Persist(every .5 seconds) and you won't have the problem. But this way the unit can be hit by the same spells multi time(b/c of the radius). I attached the map so guys can look at it.
Thanks
You could use a workaround with buffs instead of markers, but this would maybe not the best thing to do, if multiple instances of the spell can be cast simultaneously somehow.
There should be some way to somehow preserve the origin point somehow, maybe use another offset fallback? Dunno..
@Kueken531: Go
I have thought of something like that, using buffs:
Persist(makes the wave)->Persist(every .5 seconds)->apply behaviour (last 0.49 seconds) with max stack of 1. This would make it so that only one Persist(every .5 seconds) would be applied.
But I was hoping that I just made a mistake somewhere, instead of having to do a workaround like this one.
Thanks though
@turokhunter: Go
Someone asked me for the wall of fire that works, so i'm adding here for others to use.
thanks turokhunter this is perfect for my map