Basically I have a morph ability that can be interrupted if I click move (right click to move with the unit somewhere) very rapidly. I have a trigger that checks if the ability command was executed (stage3), and it triggers but the ability as I said, gets interrupted and won't do anything. Is there a way to FORCE the ability to happen once you click the hotkey? Meaning that it CANNOT be stopped by anything. I checked the supress movement and disable abilities, but that doesn't do anything.
You can do it both ways, but I recommend triggers:-
1a. Create a trigger with the Event: Unit Use Ability (Your morph ability) at Execute stage.
Condition : Unit type of (Triggering Unit) -> The unit that uses the morph ability.
Action : Disable move ability for triggering unit
Issue triggering unit to Stop
1b. Create another trigger with the Event: Unit Use Ability (Your morph ability) at Complete stage.
Condition : Unit type of (Triggering Unit) -> The unit that uses the morph ability.
Action : Enable move ability for triggering unit
Or you can do it with data:-
Create a buff behavior with the morph duration put under the Stats:Duration and under the Disable abilities of the behavior -> put in the move ability.
Then create an apply behavior effect, where you apply the above behavior, then under the Morph Ability ->Info-Section-Effects -> Under Actor:Start or Abilities:Start or Stats:Start (where you have the specified morph duration under duration in Info-Section-Duration just above), put in the apply behavior effect.
Lastly create a remove behavior effect, where you remove the above behavior, and under the Morph Ability ->Info-Section-Effects -> Under Actor:Finish or Abilities:Finish or Stats:Finish (where you have the specified morph duration under duration in Info-Section-Duration just above), put in the remove behavior effect.
By the way, do you have the Interruptible and Wait Until Stopped Flags checked?I suspect that you should check the Wait Until Stopped flag of the morph ability and see if it works.
Basically I have a morph ability that can be interrupted if I click move (right click to move with the unit somewhere) very rapidly. I have a trigger that checks if the ability command was executed (stage3), and it triggers but the ability as I said, gets interrupted and won't do anything. Is there a way to FORCE the ability to happen once you click the hotkey? Meaning that it CANNOT be stopped by anything. I checked the supress movement and disable abilities, but that doesn't do anything.
Thank you :)
You can do it both ways, but I recommend triggers:-
1a. Create a trigger with the Event: Unit Use Ability (Your morph ability) at Execute stage.
Condition : Unit type of (Triggering Unit) -> The unit that uses the morph ability.
Action : Disable move ability for triggering unit
Issue triggering unit to Stop
1b. Create another trigger with the Event: Unit Use Ability (Your morph ability) at Complete stage.
Condition : Unit type of (Triggering Unit) -> The unit that uses the morph ability.
Action : Enable move ability for triggering unit
Or you can do it with data:-
Create a buff behavior with the morph duration put under the Stats:Duration and under the Disable abilities of the behavior -> put in the move ability.
Then create an apply behavior effect, where you apply the above behavior, then under the Morph Ability ->Info-Section-Effects -> Under Actor:Start or Abilities:Start or Stats:Start (where you have the specified morph duration under duration in Info-Section-Duration just above), put in the apply behavior effect.
Lastly create a remove behavior effect, where you remove the above behavior, and under the Morph Ability ->Info-Section-Effects -> Under Actor:Finish or Abilities:Finish or Stats:Finish (where you have the specified morph duration under duration in Info-Section-Duration just above), put in the remove behavior effect.
By the way, do you have the Interruptible and Wait Until Stopped Flags checked? I suspect that you should check the Wait Until Stopped flag of the morph ability and see if it works.
Thanks.
In reply to willjay84:
The Wait Until Stopped flag was causing the problem! Thank you so much :D