Staredit Network > Forums > SC2 Assistance > Topic: [Solved] Validator area for persistent effect
[Solved] Validator area for persistent effect
May 31 2011, 10:56 pm
By: Ahli  

May 31 2011, 10:56 pm Ahli Post #1

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

My Inferno spell uses a persistent effect to create a jumping flame. It moves using periodic offsets.

My problem is that the flame jumps through "walls". In my case the walls are units with the structure flag enabled.

I've made an "enum area" validator in the periodic validator field that counts the structures within a radius of a given point, but everything seems to refer to the point where the persistent effect has been created and not where its actual position is with the offset.

What am I doing wrong?
I've tried every point as source and final point in the validator, but I can't make it use the point with the offset... :(

I think I can workaround that with a persistent effect spawning a persistent effect spawning flame's search effect, but that looks like overkill.




Jun 1 2011, 1:54 am DevliN Post #2

Woah

Hmm without seeing the ability I'm not sure how it would work exactly. I imagine that to get the validator to refer to the point designated by the offset, you'd have to attach it to the search area effect that is created at the persistent effect's offset point. Or if you don't have a search area effect being created at each offset, add that and try it.



:devlin: Currently Working On: :devlin:
Myself

Jun 1 2011, 2:24 am Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.


^ it goes through the wall instead of detecting the wall, if the offset is there.


^ my persistent effect that uses the validator.


^ validator

The validator always checks @ the position where the persistent has been created instead of checking where the offset is.




Jun 1 2011, 5:38 am DevliN Post #4

Woah

Right, so what I was suggesting was that aaaInferno-PeriodicSet, include a Search Area effect that has the validator attached to it. Then, the validator will trigger at the location of that offset. I don't think that will stop the rest of the offsets, though.

Even though it is a pain in the ass, it may be more effective to have the Create Persistent effect start a chain of Create Persistents, that way it will be able to have the validator prevent further offsets from being cast.



:devlin: Currently Working On: :devlin:
Myself

Jun 6 2011, 10:32 am Ahli Post #5

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

I've solved my problem with a search effect in the persistent effect's effect set. That search effects searches for walls and makes the caster suicide. I've modified the persistent effect's validator to "caster is not dead", too.

note:
for my spells I always spawn a unit that stores my D1 combat information. that's why "suicide remove" works for me.




Jun 6 2011, 11:26 am NicholasBeige Post #6



Ahh never saw this post until now. Yeah you would need to use a search area within the persistent set. :) How are the other spells coming along? Can the Sorceress be play-tested yet?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: Sie_Sayoka