• 0

    posted a message on [Solved] Passing a target to Effect - Instant
    Quote from DrSuperEvil: Go

    I would just use a Search Area effect. Have the first ability apply a buff that the launch missile effect of the second ability requires on the target.

    The chain for this would be:

    Ability (Effect-Instant) -> Effect (Create Persistent) -> Effect (Search Area) -> Effect (Launch Missile), correct?

    If that's right, I have my wires crossed somewhere, probably setting filling out the target/source fields on one of the effects.

    Edit: This is the correct sequence for the chain, I had just neglected to revert to parent values when switching the ability type. Easy fix, and the ability works cleanly now. Thanks you two!

    Posted in: Data
  • 0

    posted a message on [Solved] Passing a target to Effect - Instant
    Quote from Cacho56: Go

    I don't understand very well your need, but what you're asking at the end can be made by a "create persistent" efect in a unit that cast each X miliseconds/seconds a "issue order" efect (the instant ability) where the original objective is.

    I'm not sure I understand your answer, so I'll explain my needs a bit better.

    The unit has two abilities. The first targets a unit and applies a "tracer" behavior. The second fires a missile with a much longer range, but can only be shot at the unit with that specific behavior on it. As it works now, you have to target the missile fire by clicking the traced unit. I think it would feel much better if you could simply hit the hotkey for the missile ability, and it would automatically launch the missile at the unit with the behavior applied by the first. It's important that they are two separate abilities, because the tracer is an expensive ability with a long cool down, while the missiles are fairly cheap and spammable.

    As far as I can tell, using an 'issue order' effect still requires the player to manually target the unit again, but maybe I'm not understanding what you mean.

    (Only one unit at a time can have the tracer behavior applied, so there's no problem with multiple units confusing the system by both having the behavior)

    Posted in: Data
  • 0

    posted a message on [Solved] Passing a target to Effect - Instant

    I'm working on a set of abilities for a hero arena map I'm developing. One of the heroes has the ability to fire a tracer round, and then has the ability to fire off missiles that automatically home in to this target. Well, they should have that ability.

    How it works now is that the Launch Missile effect requires a target, so the Ability has to be Effect - Target. It works fine, but it feels clunky to have to select the target you've already selected - and you can't do it at all if they're in fog of war, which is a big part of how I want him to work. I'd like to have the missile ability automatically select the target that has the Tracer Round behavior, but I don't know if it's possible.

    Is there a way to establish a target inside of Effect - Instant, or any other workaround?

    Posted in: Data
  • To post a comment, please or register a new account.