| 07-18-2002, 01:50 PM | #1 |
Guest | ok, since I haven't figured out how to use the AI commands, I've been commanding the enemy units in my map too attack a unitgroup that contains all of the players units. The only problem with this now is that they always want only 1 of the units, needless to say this is completely stupid as now all the players have to do is dance 1 unit around while the rest of them kill the attacking units. Any suggestions on how I might fix this? |
| 07-18-2002, 02:06 PM | #2 |
Guest | Use the attack-move command for the computer units on the region of the victims (under "Issue order - targeting a point"), that will make them move to that region attacking all units that come in their acquisition range. |
| 07-18-2002, 02:23 PM | #3 |
Guest | that's about 10x worse as then the players can avoid them all together, atleast in this setup 1 of the players is attacked. |
| 07-18-2002, 02:28 PM | #4 |
Guest | Then use that one you used before, and make an additional trigger saying that whenever the enemy comes close to the units your command to attack that specific unit should be overwritten by an attack-move command, or a stop command. That should make the computer stop chasing that single unit as soon as they are close enough, and start fight the overall group instead. |
| 07-18-2002, 02:41 PM | #5 |
Guest | I don't want it to run away everytime it gets near a unit, or even really be predictable, I want all the units I send out target their nearest enemies and attack, and if the enemy dances their unit, to seek out a different unit and attack. I basically want them to behave like the SC units do =\ |
| 07-19-2002, 09:43 PM | #6 |
Put both of your ideas together and you got it... Do what Teup said, but when setting the Point for them to attack-move to, use (location of Random Unit from Unit Group).. Then people cannot just avoid a set area and not be attacked and the enemy wont go after just one unit. The only problem with this is that is could be complicated because you would have to define the unit group of the enemy and the player units somehow. |
