What is the most efficient way to trigger an ability via triggers?
I made an ability that requires "combo points" in order to use instead of other forms of pre-made currency/energy. I created a dummy ability that shows up on the command card and how i have it setup in the trigger editor is "If ability [dummy ability] is used at [generic stage -complete] then use effect on target from caster. The effect is a damaging effect and although it seems to work to a certain degree it doesn't run as fluidly as normal abilities via the data editor.
A couple of things I noticed that I would like to get fixed:
-The range of the dummy ability is set to 3 but I can click on an enemy across the map and the effect still executes on him. I need to get the range down to 3.
-I would also like if i decide to click on a target outside of the range have my unit head over to that target unit and then execute the damaging effect once he's in range. (I tried putting a validator of max range 3 on there and my unit just ignores me if the unit is out of range and continues doing wahtever hes doing). -Whenever the trigger fires the effect is instantly applied to the target (looks corny because it happens instantaniously without delay) is there a way to make it look like my guy is actually executing an ability instead of doing instant damagve without him even so much as turning around...
I would suggest to create a dummy effect, which is executed by the ability and your trigger would react to the effect and not the ability. This should circumvent all problems you mentioned.
Of course, you would need to set up the necessary stuff in data, like set up the unit actor to play an animation or specify a cast time for the ability.
I was considering this earlier, but when I went to switch over from an event that was triggered by an ability to an effect it seemed that the effect didn't have a way of specifying the target of the effect. So how do i call up the target of the effect if I do this? Obviously triggering unit would be the caster of the effect (im assuming)
What is the most efficient way to trigger an ability via triggers?
I made an ability that requires "combo points" in order to use instead of other forms of pre-made currency/energy. I created a dummy ability that shows up on the command card and how i have it setup in the trigger editor is "If ability [dummy ability] is used at [generic stage -complete] then use effect on target from caster. The effect is a damaging effect and although it seems to work to a certain degree it doesn't run as fluidly as normal abilities via the data editor.
A couple of things I noticed that I would like to get fixed: -The range of the dummy ability is set to 3 but I can click on an enemy across the map and the effect still executes on him. I need to get the range down to 3. -I would also like if i decide to click on a target outside of the range have my unit head over to that target unit and then execute the damaging effect once he's in range. (I tried putting a validator of max range 3 on there and my unit just ignores me if the unit is out of range and continues doing wahtever hes doing). -Whenever the trigger fires the effect is instantly applied to the target (looks corny because it happens instantaniously without delay) is there a way to make it look like my guy is actually executing an ability instead of doing instant damagve without him even so much as turning around...
Thank you in advance
I would suggest to create a dummy effect, which is executed by the ability and your trigger would react to the effect and not the ability. This should circumvent all problems you mentioned.
Of course, you would need to set up the necessary stuff in data, like set up the unit actor to play an animation or specify a cast time for the ability.
@Kueken531: Go
I was considering this earlier, but when I went to switch over from an event that was triggered by an ability to an effect it seemed that the effect didn't have a way of specifying the target of the effect. So how do i call up the target of the effect if I do this? Obviously triggering unit would be the caster of the effect (im assuming)
Thank you
@Etravex: Go
Nevermind just figured it out Thank you again
This can be done via Data, and should be done via Data.