| 10-10-2004, 10:48 PM | #1 |
:( Does anyone know a way that i can have a trigger that fires when unit is attack by a computer unit. I tried useing the "unit issued order targeting a point" but that doesn't work, any help would be apprecitaed. |
| 10-10-2004, 10:53 PM | #2 |
Yeah, it is fairly easy. Event Unit - A unit Is attacked Condition (Owner of (Attacking unit)) Equal to (the computer player) Action Your actions -Miningjrk |
| 10-10-2004, 11:18 PM | #3 |
Sorry i ment a trigger that fires right before the unit attacks, the trigger i working redirects an attack towards another unit, so when it about to attack the computer tells it to attack something else. :god_help_us: |
| 10-10-2004, 11:26 PM | #4 |
In that case, Event Unit - A unit Is issued an order targeting an object Im not sure what your condition would be if any as i do not quite understand what you want. Hope that helps. |
| 10-11-2004, 12:57 AM | #5 |
I tried that event but it doesn't fire with computer owned players. :( |
| 10-11-2004, 12:59 AM | #6 |
Guest | Events- A Unit Acquires a target Now you do the rest what you needed. |
| 10-11-2004, 01:15 AM | #7 |
:\ That event only works for 1 unit, not any unit |
| 10-11-2004, 03:25 AM | #8 | |
Quote:
1 - When it comes in range of the unit, and it attacks it automatically, no order is issued then. 2 - When you right-clik an enemy unit , the order in this case is "smart". 3 - When you use the "Attack" command in the command card, in that case, the order is "attack". |
