I'm having a bit of an issue. I want to make it so that all units have the same attack target priority. I see the object in the Data editor, but Regardless of what the photon cannon has, for example, because it attacks, all the units will attack that.
I'm having a bit of an issue. I want to make it so that all units have the same attack target priority. I see the object in the Data editor, but Regardless of what the photon cannon has, for example, because it attacks, all the units will attack that.
How would I do such a thing?
Perhaps you could explain a bit further exactly what you mean? Why can't you just change the Combat: Attack Target Priority field to the same value for all the units in question?
What I mean is that say if you have a wall of 5 buildings, all with the same attack target priority and only 1 of the buildings have a weapon. They will attack the one with the weapon regardless of the attack target priority of the unit. It seems the weapon adds in extra priority. How do I change that?
What I mean is that say if you have a wall of 5 buildings, all with the same attack target priority and only 1 of the buildings have a weapon. They will attack the one with the weapon regardless of the attack target priority of the unit. It seems the weapon adds in extra priority. How do I change that?
Give the other buildings an invisible, useless weapon?
I just tried removing the acquire response from the weapon's damage effect, but it seems that's not the problem here. They attack the photon cannon as soon as it's made rather than after it attacks, which is why I think it didn't work.
I'm afraid I might just have to go with the invisible weapons route if I can't find out. Thanks for all the help so far, and I'm still looking for more on this problem if anyone else has a guess at it.
One thing that might work is giving every unit in the game a buff behavior with the "Generate Threat" flag checked (Behavior Modification -> Behavior tab), everything should have the maximum possible priority then.
I'm having a bit of an issue. I want to make it so that all units have the same attack target priority. I see the object in the Data editor, but Regardless of what the photon cannon has, for example, because it attacks, all the units will attack that.
How would I do such a thing?
Perhaps you could explain a bit further exactly what you mean? Why can't you just change the Combat: Attack Target Priority field to the same value for all the units in question?
Sorry for the delayed response..
What I mean is that say if you have a wall of 5 buildings, all with the same attack target priority and only 1 of the buildings have a weapon. They will attack the one with the weapon regardless of the attack target priority of the unit. It seems the weapon adds in extra priority. How do I change that?
Try removing the Aquire response of the weapon damage effect.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Give the other buildings an invisible, useless weapon?
Again, sorry for the delayed response.
I just tried removing the acquire response from the weapon's damage effect, but it seems that's not the problem here. They attack the photon cannon as soon as it's made rather than after it attacks, which is why I think it didn't work.
I'm afraid I might just have to go with the invisible weapons route if I can't find out. Thanks for all the help so far, and I'm still looking for more on this problem if anyone else has a guess at it.
One thing that might work is giving every unit in the game a buff behavior with the "Generate Threat" flag checked (Behavior Modification -> Behavior tab), everything should have the maximum possible priority then.
@zorbotron: Go
You're a genius man ! You gave me the answer of the biggest bug of my map. Thanks a LOT !