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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Zycorax, Dem0n