I want to make a structure, which is owned by a player...be treated as neutral by enemy units.
For example, if Player 1 builds a Factory, and Player 2 (his enemy) runs a bunch of zerglings up to that factory, I do not want those zerglings to automatically attack it. They need to be able to attack and kill it if Player 2 tells them to do so, but I do not want them to do it automatically.
Make a behavior that applies the "benign" state flag, or just use blizzard's behavior called "Harmless" (it's in the campaign dependency). The affected unit won't attack or be attacked by anyone.
I want to make a structure, which is owned by a player...be treated as neutral by enemy units.
For example, if Player 1 builds a Factory, and Player 2 (his enemy) runs a bunch of zerglings up to that factory, I do not want those zerglings to automatically attack it. They need to be able to attack and kill it if Player 2 tells them to do so, but I do not want them to do it automatically.
Anyone have any ideas?
Make a behavior that applies the "benign" state flag, or just use blizzard's behavior called "Harmless" (it's in the campaign dependency). The affected unit won't attack or be attacked by anyone.
Wow thank you for the fast response! Worked perfectly.