look at the campaign ver of the siege tank weapon.... it does a different amount of splash damage to your units than the enemy by using too different search effects.... you can use the same thing to do what you want.... make one search have the filter of just you and exclude buildings but in the filter for enemy don't exclude it.
Rollback Post to RevisionRollBack
-Dev of Mineralz Evolution
-Dev of Poker Defense
-Dev of Poker Defense 2.0
-Dev of GridFall (RTC Map)
-Dev of Battlegrounds (RTC Map)
you need a switch effect.
first case is an empty effect with allied building validator and default case is your normal effect chain.
if you want to stop attacking add a issue order effect with stop order
- - edit - -
you need 2 cases on your switch effect. one normal where allies is excluded and one where allies is included but buildings excluded, no default case. then you should not be able to attack allied buildings at all.
How is this done, assuming its possible.
Thanks.
In a units weapon. Exclude structures from allowed targets
@joey101d: Go If I do that then the unit cannot attack enemy structures. So that does not work.
look at the campaign ver of the siege tank weapon.... it does a different amount of splash damage to your units than the enemy by using too different search effects.... you can use the same thing to do what you want.... make one search have the filter of just you and exclude buildings but in the filter for enemy don't exclude it.
you need a switch effect. first case is an empty effect with allied building validator and default case is your normal effect chain.
if you want to stop attacking add a issue order effect with stop order
- - edit - -
you need 2 cases on your switch effect. one normal where allies is excluded and one where allies is included but buildings excluded, no default case. then you should not be able to attack allied buildings at all.