The search effects are applied by a persistent started by the launch effect. I tried just excluding caster, but that didn't work either.
Here's my effects flow:
Persistent (creates two missiles) -> each missile's Launch, with launch effect -> persistent (to apply the search) -> search (This is where I'm adding Exclude: Caster) -> unit impact (destroys the missile and stuff)
EDIT: Figured out the problem, it wasn't that the missiles were colliding with the casters, they were colliding with each other.
I have a missile ability, where the caster shoots out missiles to a target point with a customized mover, applying searches on the missile to destroy it when it comes into contact with something. Everything works fine, except now I would like for it to hit the player's other units as well, but obviously not the caster himself. I've tried adding "(Persistent that created the missile) - Caster" to the Excludes list of the search area, but that didn't do anything. I'm guessing the missile may not retain the memory of who casted it, similar to having a behavior. Does anyone know how to properly use this field so that it would work for missiles? I think a long workaround would be to apply a behavior on the caster for the duration of the missile's flight, so it knows not to collide with the caster, but surely there's a better way to do this?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The search effects are applied by a persistent started by the launch effect. I tried just excluding caster, but that didn't work either.
Here's my effects flow:
Persistent (creates two missiles) -> each missile's Launch, with launch effect -> persistent (to apply the search) -> search (This is where I'm adding Exclude: Caster) -> unit impact (destroys the missile and stuff)
EDIT: Figured out the problem, it wasn't that the missiles were colliding with the casters, they were colliding with each other.
I have a missile ability, where the caster shoots out missiles to a target point with a customized mover, applying searches on the missile to destroy it when it comes into contact with something. Everything works fine, except now I would like for it to hit the player's other units as well, but obviously not the caster himself. I've tried adding "(Persistent that created the missile) - Caster" to the Excludes list of the search area, but that didn't do anything. I'm guessing the missile may not retain the memory of who casted it, similar to having a behavior. Does anyone know how to properly use this field so that it would work for missiles? I think a long workaround would be to apply a behavior on the caster for the duration of the missile's flight, so it knows not to collide with the caster, but surely there's a better way to do this?