As the titel states, i want units to use their abilities while attackmoving. Do i need to set up triggers for each individual unit and ability and order them to use their abilities at given conditions. I feel there should be a smart and easy way to do this so i dont have to do hundreds of triggers for each unit etc. Like altering their ability to be smartcast or something AI thingy.
To make it more clear what mean:
Ghost unit spawns and is orderd to attack move across the map. As it detects an enemy unit i want it to use Snipe ability (if it has sufficent energy). When the enemy unit is killed, the ghost should continue the attack move.
I'm also very intrested to learn how to do things like that. I already have few ideas that I want to use on my maps. And welcome to sc2mapster toreman =)
I'm also very intrested to learn how to do things like that. I already have few ideas that I want to use on my maps. And welcome to sc2mapster toreman =)
How nice! Thanks, i have been reading the forums and tutorials for a while, but felt it was time to make a thread^^
Use the event called Unit Is Attacked. Use condition (attacking unit) == Ghost. Under actions, order the Ghost to snipe (triggering unit) replacing current orders. Then order the ghost to smart move to the destination after existing orders.
this is ALOT easyer to do in PURE data . in the weapon you can add a ``flag`` that alows movement while attacking . and int he abilities their is a flag that alows to use a ability that will not make the unit stop moving when used.
this is ALOT easyer to do in PURE data . in the weapon you can add a ``flag`` that alows movement while attacking . and int he abilities their is a flag that alows to use a ability that will not make the unit stop moving when used.
The problem here would be, that you cannot make the unit use the ability correctly and continue the previous command. You can make the unit auto-cast the ability, but it will forget previous orders.
Additionaly, you can make the ability transient, in this case the order remains, but the cast/channeling/finish times will be ignored, the unit will just fire the sniper round while running, which will result in very awkward optics/behavior.
Making the unit cast the ability is probably better done in data, however I would use triggers to re-issue the previous order.
Hi!
As the titel states, i want units to use their abilities while attackmoving. Do i need to set up triggers for each individual unit and ability and order them to use their abilities at given conditions. I feel there should be a smart and easy way to do this so i dont have to do hundreds of triggers for each unit etc. Like altering their ability to be smartcast or something AI thingy.
To make it more clear what mean:
Ghost unit spawns and is orderd to attack move across the map. As it detects an enemy unit i want it to use Snipe ability (if it has sufficent energy). When the enemy unit is killed, the ghost should continue the attack move.
Thanks in advance!
I'm also very intrested to learn how to do things like that. I already have few ideas that I want to use on my maps. And welcome to sc2mapster toreman =)
How nice! Thanks, i have been reading the forums and tutorials for a while, but felt it was time to make a thread^^
Use the event called Unit Is Attacked. Use condition (attacking unit) == Ghost. Under actions, order the Ghost to snipe (triggering unit) replacing current orders. Then order the ghost to smart move to the destination after existing orders.
this is ALOT easyer to do in PURE data . in the weapon you can add a ``flag`` that alows movement while attacking . and int he abilities their is a flag that alows to use a ability that will not make the unit stop moving when used.
The problem here would be, that you cannot make the unit use the ability correctly and continue the previous command. You can make the unit auto-cast the ability, but it will forget previous orders.
Additionaly, you can make the ability transient, in this case the order remains, but the cast/channeling/finish times will be ignored, the unit will just fire the sniper round while running, which will result in very awkward optics/behavior.
Making the unit cast the ability is probably better done in data, however I would use triggers to re-issue the previous order.