| 02-07-2003, 01:59 AM | #1 |
I want a trigger so that when your hero comes within 200 range of a specific unit the units becomes your computer ally and follows your hero around. |
| 02-07-2003, 02:03 AM | #2 |
Do this: Event: Every 3 seconds Condition: Real (distance between 2 points(2 units)) less then or equal to 200 Action: Wutever u want him to do |
| 02-07-2003, 02:10 AM | #3 |
------------------ RESCUE AND FOLLOW [Event] A Unit enters Region X (200 radius, containing Unit Y) [Condition] Unit Type of Trigger Unit = Hero TRUE [Action] Unit - Rescue Unit Y for Player Z* Unit - Order Unit Y to Follow Triggering Unit *where Player Z = Computer player allied to Human player ------------------- I prefer this to a trigger that fires every 3 seconds for 2 reasons: 1) lag 2) response time of ownership change |
