| 01-15-2003, 11:12 PM | #1 |
Alright, I need help here, because I'm sure I'm doing this in what must be the most tedious way possible, but I can't think of another way to do it. My problem is this... I have a large group of troops seperated into ten rows of ten soldiers each. A knight is at their head. I want them to march forward while staying in line and not growing any closer or further from one another (excluding the knight). Eventually they'll get mowed down by an archmage, but that's beside the point. Right now, I've made around 100 locations, and have gone through selecting each footman by hand and moving them to the location that is one length (the length of the space between rows) in front of them. It's quite bothersome, and there has to be a better way... Please help! Edit: Can someone please move this to the Map Development forum, I posted it in the wrong one (obviously). Thanks. |
| 01-16-2003, 12:13 AM | #2 |
Region surrounding the group you want all to move to 1 place at a time. Use the Unit Group trigger, pick all units in region(the region you put the units in), and do action=move all units owned by player 1 to center of Where you want to move them( another region Hope that helps. Edit- EXAMPLE- PHP Code:
So you could end up with PHP Code:
Any questions ask away |
| 01-16-2003, 12:28 AM | #3 |
Won't let me edit my post...hmph. Anyway, i meant to say end up with THIS PHP Code:
Any questions ask away |
