| 08-02-2004, 06:02 AM | #1 |
I made my first AOS map, I think im doing pretty well actually. Anyways can someone help me out the problem is that theres red and blue( the computers) and they both have spawn locations, but for some reason all the footman on the blue side go to the first waypoint issued then run back to the first one. While the red ones go to the proper wps. I need some help. PLEASE just reply and I will send u the map. I dont want to risk my credit getting stolen. I worked hard on this map. |
| 08-02-2004, 11:57 AM | #2 | |
Quote:
Don't bother sending me the map, how are you ordering the units to move? if your making them run to a "waypoint" they won't go any farther, and usually run back. You need to make several triggers. one, is the spawning and adding them to a group Trigger. I suggest you make a unit group variable, it will be called "unitgroup1" Event Every 50 seconds of the game Condtion Barracks 001 equal to alive Action Create (3) (footmen) for player2(blue) at (blueBarracks) facing 90 degrees Pick all units in (blueBarracks) and do (add(picked unit) to (unitgroup1)) Pick all units in (BlueBarracks) and do (order(picked unit) to (attack move) to postion of (redBarracks) ok, thats the spawning trigger, every 50 seconds, if the blue barracks is alive it creates 3 footmen,at the region(put region near barracks) puts them into the unitgroup "unitgroup1" and orders them to attack move to the red barracks region, attack move is very good for AoS, they will run to the spot, attack anything on the way, kill it, then continue running. next trigger will continuely order them to run to the enemy spot, so they don't come back. Event Every 10 seconds of the game Condtion None Action Pick all units in (BlueBarracks) and do (order(picked unit) to (attack move) to postion of (redBarracks) You can get much more complex with this, for example, if the path is not a straight line, you may need triggers to send them to each one as they encounter them, you can use variables, region variables. also, you can add triggers so that when the troops get by the red barracks they will continue their runs to the enemys castle or whatnot. anyway, i hope this helps. |
| 08-02-2004, 10:00 PM | #3 |
im kinda new to triggering..i cant seem to figute out how to do the condition Code:
Condition Barracks equal to alive |
| 08-02-2004, 10:11 PM | #4 | |
Quote:
boolean conditional |
| 08-02-2004, 10:50 PM | #5 |
right, now what about this? Code:
Pick all units in (blueBarracks) and do (add(picked unit) to (unitgroup1)) Pick all units in (BlueBarracks) and do (order(picked unit) to (attack move) to postion of (redBarracks) |
| 08-02-2004, 10:54 PM | #6 |
Go down to unit groups, in actions, pick, unit group - pick all units in unit group and do action, |
