Friendly units? You will need a periodic event that adds a spell book with 100%evasion
command aura gives bonus damage, so turning it into a negative damage aura shouldn't be too hard, is that what you needed or do you need more help making it work?
Ok, here's what i'm trying to do... when a unit enters a region (namely the prison) He looses the ability to attack. How do i Do this?
You trigger that you have to add a new custom script to remove the attack button.
You won't want to remove the attack button - You can't add it again IIRC.
If you want to prevent units from being attacked in a certain region:
- A unit is attacked
- Triggering Unit is in (Region)
- Pause (Attacking Unit)
- Order (Attacking Unit to "stop"
- Unpause (Attacking Unit)
Because upgrades cannot be undone.
A search for disabling attack would show you that adding Cargo Hold (Orc Burrow) to a unit will make it unable to attack. (That's how I found about about this handy trick.)Ok, here's what i'm trying to do... when a unit enters a region (namely the prison) He looses the ability to attack. How do i Do this?