| 05-01-2004, 08:14 PM | #1 |
Is there any way to change the wander ability so that It will attack once struck, and not run away? Or is there an alternative that will make a unit randomly move about and attack when provoked? Please help. |
| 05-01-2004, 09:14 PM | #2 |
Maybe if you make a trigger like: Event > A unit is attacked Condition > Unit is under effect of Wander (something like that :\) Action > A trigger to make him attack the offensive unit (I don't know how to write this one though) sorry I can't help any further... |
| 05-01-2004, 09:45 PM | #3 |
okay, heres what i remember. If a unit has an attack that it can use it will attack. It will go off and attack enemies even if they have not struck them. Though if no attack is enabled they won't attack the enemy :) Then soon as they are attacked we can enable them an attack. I'm working on this in WE cause it sounds like something i could use for my RPG i want to make. PM me i think i'm close to the answer. |
| 05-01-2004, 09:51 PM | #4 |
are you sure about this? I remember playing a map where units had the "wander" ability and also could attack, but they just wouldn't attack anyone unless told to. |
| 05-01-2004, 11:20 PM | #5 | |
Quote:
|
| 05-01-2004, 11:53 PM | #6 |
Then perhaps you want to change your player's Allied state with the cop-controlling computer player. You can switch that willy-nilly in-game with triggers. If the cop is neutral towards you, and vice versa, no combat. If he considers you an enemy, he'll attack you. You could even set it so that the player is always neutral towards cops, so that their guy won't auto-attack. |
| 05-02-2004, 12:01 AM | #7 |
| 05-02-2004, 09:48 AM | #8 |
Lord Vexorian, I don't really understand what is this thing with the link that you posted. Care to explain? |
