I'm interested in learning how I can make a unit (of any sort) ignore another different unit (also of any sort). Like lets say I have unit A which shoots at everything that moves normally, now unit B enters A's range, which normally would cause A to attack B, but in this case A will completely and permanently ignore B. If a third unit C enters A's range while B is nearby A will start shooting at C as if B didn't exist. However C will attack B if ordered and/or is unfriendly with B.
You'd have to screw around with search filters and unit attributes, thats the only way i can think of. Maybe validators can help as well, but i suck at those.
Basically, you can set one unit A to "Armored" and unit B to "Biological", and have unit A's attack not target biological units, and make unit C "Psionic", and allow unit As weapon to hit Psionic units.
Don't know whether unit A would attack unit D which is both Biological and Psionic. If it would, then you can use combinations for a wider range such ignoring stuff.
But if you use unit attributes already in any way possible (like bonus damage), my idea is useless.
Miscellaneous Map Development is for questions that do Not fit into any of the other development forums such as publishing, using dependencies and such. This is about the Data Editor and should be posted in the Data forum as such. I am moving this to Data.
Miscellaneous Map Development is for questions that do Not fit into any of the other development forums such as publishing, using dependencies and such. This is about the Data Editor and should be posted in the Data forum as such. I am moving this to Data.
You'd have to screw around with search filters and unit attributes, thats the only way i can think of. Maybe validators can help as well, but i suck at those.
Basically, you can set one unit A to "Armored" and unit B to "Biological", and have unit A's attack not target biological units, and make unit C "Psionic", and allow unit As weapon to hit Psionic units.
Don't know whether unit A would attack unit D which is both Biological and Psionic. If it would, then you can use combinations for a wider range such ignoring stuff.
But if you use unit attributes already in any way possible (like bonus damage), my idea is useless.
I'd try that, but then unit A would still be able to attack B, just without dealing any damage, which would cause unit A to be busy with doing nothing :D
Think you might have given me an idea though, I'll try it out and report back.
I'm interested in learning how I can make a unit (of any sort) ignore another different unit (also of any sort). Like lets say I have unit A which shoots at everything that moves normally, now unit B enters A's range, which normally would cause A to attack B, but in this case A will completely and permanently ignore B. If a third unit C enters A's range while B is nearby A will start shooting at C as if B didn't exist. However C will attack B if ordered and/or is unfriendly with B.
Hope this describes it :)
You'd have to screw around with search filters and unit attributes, thats the only way i can think of. Maybe validators can help as well, but i suck at those.
Basically, you can set one unit A to "Armored" and unit B to "Biological", and have unit A's attack not target biological units, and make unit C "Psionic", and allow unit As weapon to hit Psionic units.
Don't know whether unit A would attack unit D which is both Biological and Psionic. If it would, then you can use combinations for a wider range such ignoring stuff.
But if you use unit attributes already in any way possible (like bonus damage), my idea is useless.
Miscellaneous Map Development is for questions that do Not fit into any of the other development forums such as publishing, using dependencies and such. This is about the Data Editor and should be posted in the Data forum as such. I am moving this to Data.
Sure, sorry :)
I'd try that, but then unit A would still be able to attack B, just without dealing any damage, which would cause unit A to be busy with doing nothing :D Think you might have given me an idea though, I'll try it out and report back.
@piepgras: Go
It works, all I did was make unit B Massive and unit A's weapon target filter exclude massive.
Thanks once again guys :)