| 04-02-2005, 05:14 PM | #1 |
^Topic I can't seem to make it so that the player treats his enemy as an ally, because that just confuses everything and makes it worse. I want the player to manually attack, and prevent his/her unit from auto targetting the enemy unit. The players unit in question is a footman. The enemy unit is a ghoul. I tried thinking of a trigger for it but couldn't think of much, I tried generic unit event but nothing about auto targetting was in there. I thought maybe if I did something when the unit attacks to stop it, but wouldn't that just conflict when the player manually attacks also? So, if anyone can help Thanks |
| 04-02-2005, 06:29 PM | #2 |
Set the unit's acquisition range to 0. However, don't do that in the object editor, but do it with a trigger instead, because acquisition range set in the object editor clamps down the unit's attack range as well, while trigger-set acquisition range only limits the unit's auto targeting range. |
| 04-02-2005, 06:37 PM | #3 |
Guest | Here's a way but it gets a little messy. Events Unit - A unit comes within 1000.00 of Ghoul 0046 <gen> Conditions (Triggering unit) Equal to Footman 0045 <gen> Actions Unit - Order Footman 0045 <gen> to Stop Unit - Order Ghoul 0046 <gen> to Stop You have to change the condition i'm not sure what it is. But that might work. This thought is sloppy because you have to target it twiice! Just a thought EDIT: darn wasted too much time~Anitarf got there 1st ~Piece |
| 04-02-2005, 08:11 PM | #4 |
anitarf I never knew that, thanks much thanks also to Hunter |
| 04-05-2005, 10:17 AM | #5 | |
Guest | Quote:
|
| 04-05-2005, 11:55 AM | #6 | |
Guest | Quote:
Wouldn't that stop both the footman and ghoul from doing anything at all? Just wondering, cause I've used that before in similer situations, and I think nothing good came of it... ...just a thought, not trying to conflict or anything ;) |
| 04-05-2005, 12:29 PM | #7 |
I haven't tested it extensively, but i think some of the "ghost" abilities allow you prevent a unit from auto-aquirring. |
