Unit just attacks without dealing damage, which is not what i'm looking for. I'd like my unit to move to target until there is nothing on the way so it can attack freely.
[edit]
I found a solution to this problem. Funny enough it's your very post! And there is the map. Perhaps this is one you tried to share with me?
Thank you for quick reply, but would you mind explaining it more to me? I used to be good at such things in warcraft but I'm only beginner in starcraft. Also, I am not sure if that's what I'm looking for. To be clear I want unit to shoot missile at random point around target.
So I'm trying to make a unit that when attacks, it doesnt just hit the target, but instead deals splash damage in random point around it. I need it for artillery unit that is suppost to be inaccurate and shoot different place that it should. I'd like not to use triggers because it would get laggy.
So I'm trying to make parabolic, mortar-like weapon. I copied infested terran ability mover and applied it to marauder missile and made some configurations. Everything works but here is a problem: as the unit is further away from target, parabola arc is getting smaller and smaller until it goes straight to the target. Mortar weapons are usually shooting at 60-80 degrees high. Couldn't find any field to change arc of missile, so it has this arc throughout entire flight.
So I'm trying to make units not attack if building is on the way. Tried comparing pathing cost with distance between points but it didnt work... any ideas?
0
@finiteturtles: Go
Thank you, how do I convert this code to trigger?
Nevermind, made my own and it works just as i need.
0
Looking for auto-splitting behavior or trigger. As performance friendly as possible.
0
Unit just attacks without dealing damage, which is not what i'm looking for. I'd like my unit to move to target until there is nothing on the way so it can attack freely. [edit] I found a solution to this problem. Funny enough it's your very post! And there is the map. Perhaps this is one you tried to share with me?
http://www.sc2mapster.com/forums/development/data/77180-prevent-units-from-shooting-over-each-other-picture/#p9
0
Thanks, +rep!
0
Thank you for quick reply, but would you mind explaining it more to me? I used to be good at such things in warcraft but I'm only beginner in starcraft. Also, I am not sure if that's what I'm looking for. To be clear I want unit to shoot missile at random point around target.
0
So I'm trying to make a unit that when attacks, it doesnt just hit the target, but instead deals splash damage in random point around it. I need it for artillery unit that is suppost to be inaccurate and shoot different place that it should. I'd like not to use triggers because it would get laggy.
0
So I'm trying to make parabolic, mortar-like weapon. I copied infested terran ability mover and applied it to marauder missile and made some configurations. Everything works but here is a problem: as the unit is further away from target, parabola arc is getting smaller and smaller until it goes straight to the target. Mortar weapons are usually shooting at 60-80 degrees high. Couldn't find any field to change arc of missile, so it has this arc throughout entire flight.
0
So the impact effect goes totally normal like this http://zapodaj.net/f5d2f38ce5b14.bmp.html
But launch effect doesnt have list to choose effect and if I just write name of effect it wont work either http://zapodaj.net/79d4a54da7528.bmp.html
It happened before with firebat attack actor
0
Thanks, that was second thing i was going to do. But they still can shoot through if other unit sees enemy.
0
I'm trying to make realistic map where units can't shoot when there are buildings between them and target.
0
So I'm trying to make units not attack if building is on the way. Tried comparing pathing cost with distance between points but it didnt work... any ideas?