HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attack priority

08-30-2004, 12:12 AM#1
TheXenocide
Is there a way to make a unit be the first attacked unit in a group of units? I have tried messing around with the unit-priority option in the object editor but it didn't seem to affect the order in which units were attacked at all. I was wondering if there was a trigger that increased the odds of the computer attacking a particular unit.
Thanks.
08-30-2004, 01:07 AM#2
player_72985
Quote:
Originally Posted by TheXenocide
Is there a way to make a unit be the first attacked unit in a group of units? I have tried messing around with the unit-priority option in the object editor but it didn't seem to affect the order in which units were attacked at all. I was wondering if there was a trigger that increased the odds of the computer attacking a particular unit.
Thanks.
well, none that I know of, but you can use something like, Unit - make This unite Attack This unit - trigger. Or do something like Unit - pick every unit in unit group "A" and do action attack unit "1". Something like that, hope that helps out a bit.
08-30-2004, 09:29 AM#3
SpadeZ
The unit priority in the object editor works. But there needs to be a fair range in the priorities, and there are sometimes exceptions. If you want a unit to be targeted more often than others, then its best to reduce the priority of the units that you dont want targeted. A unit with a priority of 0 will most likely not be attacked at all, unless there are no other units nearby.

Hope this helps, GL.
08-30-2004, 09:07 PM#4
TheXenocide
Quote:
Originally Posted by SpadeZ
The unit priority in the object editor works. But there needs to be a fair range in the priorities, and there are sometimes exceptions. If you want a unit to be targeted more often than others, then its best to reduce the priority of the units that you dont want targeted. A unit with a priority of 0 will most likely not be attacked at all, unless there are no other units nearby.

Hope this helps, GL.

This didn't seem to work. I think the problem is because the unit that I want to be attacked doesn't attack at all. and player 72985's idea won't work because I don't want nearby units to attack the unit unless they are order to attack-move.