| 02-11-2003, 04:50 PM | #1 |
Why oh why do you run home, little peasant? I issue a Move To Region X in a trigger, and it works great. The little dude runs right to where I want him. But then the little sucker turns around after 1-2 seconds and runs back to his original location. What gives? INFO unit is a human peon. unit is neutral passive, but switched to neutral hostile before being given the Move To order. Unit is pre-placed in the map. Thanks in advance for the help! |
| 02-11-2003, 05:05 PM | #2 |
Just a thought, but most units return to their place of origin after attacking etc. One reason for the peon might be a need to harvest, etc. If you don't NEED those abilities for that unit try removing them. Or, maybe you need to get him further away from his origin? Other than that you may need to add a 'pause' action for him. :bgrun: Just guessing. Hope it helps. |
| 02-11-2003, 05:25 PM | #3 |
TucksMa is right, if you give a computer unit a order, when he reaches that spot he will just turn around and go back. Only thing you can do is tell the unit to hold position, then tell him to stop, i belive that fixed the little problem |
| 02-11-2003, 08:22 PM | #4 |
the trigger Ai-ignore guard poisiton for player x makes it so units dont run back after you tell them to go somewhere. |
| 02-11-2003, 08:24 PM | #5 |
there you go, i knew there had to be a better way, i also noticed there is recycle guard postions, perhaps that will make thier new postion be a guard post? |
| 02-12-2003, 02:22 PM | #6 |
High five => ChoboMapper |
| 02-13-2003, 02:08 AM | #7 | |
Guest | Quote:
Take that back! MY way is great. When they enter region X move him instantly to his current position. He runs back because if you ever noticed nultural units ALWYAS return ot their set place. Try it on any nutural hostile unit who is chaseing you. (I ran into this problem during one of my campains) |
| 02-13-2003, 05:32 AM | #8 |
::takes back high-five:: (because remove AI doesnt work on peon type units) ::high fives l33t:: |
| 02-13-2003, 04:11 PM | #9 |
Guest | :High-fives hakjin: :D |
