| 12-11-2003, 04:41 PM | #1 |
Hi, I'm stuck here: I need to know how you do so a group/single unit attacks random unit owned by player 1 in region (Team1). The owned by player 1 part is not that important, the biggest thing is the other. |
| 12-11-2003, 05:42 PM | #2 |
Your going to have to be a little more clear. Do you want an ACTION that tells a group or unit to attack a random unit? OR, do you want an EVENT that looks for when a random unit gets attacked by a certain group/single unit? If your looking for the action (goin by memory here) then i think something like A - take all units in unit group (GroupWhatever) and do: Unit - order unit (picked unit) to attack random unit from unit group(units in region(owned by player1) If you want the Event, then you'll have to do something like this. E - Player owned Unit event: Unit owned by (player1) gets attacked C - (Triggering unit) is in region (RegionWhatever) C - (Attacking Unit) is in player group (GroupWhatever) |
| 12-11-2003, 06:10 PM | #3 |
Okey, I'll be more specific. player 1-3 = team1 player 4-6 = team2 player 8 = team2 creeps (running in team1's route) player 9 = team1 creeps (running in team2's route) -Situation- I try to make a tower wars map. And It's this with the tower attackers I'll need help with. When player 4 builds a unit, It gets teleported to team1's "route". And if it's a normal unit it will run the way to the end (need no help i that part). Anyway, When a tower attacker whom attacks towers enters the "teleport region" it will start attacking team1's towers, and when all towers are destroyed the tower attackers will run to the end of the route. Is that a better explanation? emote_sweat |
| 12-11-2003, 07:24 PM | #4 |
two words, attack move simply order the attackers around the route, but istead of move commands, use attack move. |
| 12-11-2003, 08:05 PM | #5 |
Well, I guess thats it. :D thank you! :ggani: |
| 12-11-2003, 08:24 PM | #6 |
NP im here to help |
