| 12-24-2002, 09:35 PM | #1 |
alright here's a briefing of how the map goes, it's basically a test: First, you have 3 heros to choose from... walk over one region, and the hero you picked changes to player 1... the other 2 turn to player 12 and are your AI assistants. As soon as your assistants change ownership, they are ordered to follow you. After that, this trigger awaits execution: Events: Unit - A unit comes within 600.00 range of Archmage Conditions: (Owner of (Triggering unit)) equal to Neutral Hostile Actions: Unit - Order Archmage to Attack-Move To (Position of (Triggering unit)) Archmage would be one of your assistants. When i come near a forest spider (ownership of Neutral Hostile) they do nothing, they continue to follow me, esp. the archmage. I even tried setting the range to 10000.00 and still nothing! can someone help plz? thanks! |
| 12-24-2002, 09:42 PM | #2 |
Maybe the Archmage is not an enemy of Neutral Hostile. Is he neutral? If so he won't attack anything. |
| 12-24-2002, 11:17 PM | #3 |
Player 12 is set as a computer under player properties, not neutral. anything else it could be? |
| 12-25-2002, 12:11 AM | #4 |
Guest | You cant do that becuase if you say attack move to the unit being followed it never can stop.. the followed unit is always in the way and if he moves its given a new order.. what u need.... is to make it attack-move to a location of unit with an offest by a few numbers like to the left.. or the right... and that should work. |
| 12-25-2002, 12:21 AM | #5 |
Ill try to make that a little more simple. Triggering Unit is the archmage. I dont know why but it works out that way. |
| 12-25-2002, 12:42 AM | #6 |
The hero YOUR in control of is the Paladin, your assistants are the Archmage and the Mountain King. The assistants are supposed to follow you until enemies ONLY of type Neutral Hostile come within a 600 range of them and then their order changes from following you, the paladin, to attack-moving to the position of the triggering unit (in this case, the triggering unit would be the NH unit) Can someone at least think of a good way to make this work? im basically creating an AI using triggers for 'mercenaries' that follow a hero. |
| 12-25-2002, 12:53 AM | #7 | |
Quote:
If you set a follow trigger then you have to turn off the follow paladin trigger before they can attack. |
