I'd hope setting the range to max would've fixed it, but the destroy persistent effect destroys the oldest persistent, and not the nearest persistent.
Locations: Caster, Source, and Origin all use the original unit, the one that casted the ability unfortunately, this is my problem, and target is the one caught in the search area. I need to get location to read the position of the persistent, and not the position of the caster.
I have no idea where outer goes, but it doesnt work. And target may be my last resort, because if there are multiple traps in an area it might remove the wrong one (because target finds the target of the search area, and I need to source of the search area which should be the persistent).
EDIT : Tried using target as target location, but the radius is messed, although it is more than the search area (Search Area Radius = 0.5, Radius of Destroy Persistent = 1), sometimes it doesn't find the persistent to destroy.
Last call for anybody that knows how I can get the persistent as the target location :l
Making an ability, need help with the Persistents. A Trap Ability type Effect - Target.
Method:
Ability Creates Persistent at Target Location
Persistent has an Initial Delay of 3 seconds, then every 0.0625 seconds it searches the area for enemies.
The Search Effect applies a Set effect which Deals Damage, Applies a Reveal Behavior, and destroys the Persistent.
Problem: Persistent doesn't go away.
Been stuck for 2 days now :\
Try setting the Target: Location + of the Destroy Persistent effect to the target point of the Create Persistent effect.
Did not work, thanks for the reply though.
@Necromoni: Go
For a start use standard protocol when making pics those + fields could be anything.
Try setting range to 255 or the location to caster.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I'd hope setting the range to max would've fixed it, but the destroy persistent effect destroys the oldest persistent, and not the nearest persistent.
Locations: Caster, Source, and Origin all use the original unit, the one that casted the ability unfortunately, this is my problem, and target is the one caught in the search area. I need to get location to read the position of the persistent, and not the position of the caster.
Try outer/target.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I have no idea where outer goes, but it doesnt work. And target may be my last resort, because if there are multiple traps in an area it might remove the wrong one (because target finds the target of the search area, and I need to source of the search area which should be the persistent).
EDIT : Tried using target as target location, but the radius is messed, although it is more than the search area (Search Area Radius = 0.5, Radius of Destroy Persistent = 1), sometimes it doesn't find the persistent to destroy.
Last call for anybody that knows how I can get the persistent as the target location :l