AI for Zealots
Nov 13 2021, 6:59 pm
By: Hoangquan123  

Nov 13 2021, 6:59 pm Hoangquan123 Post #1

Can you help me?, I don't know how to make for AI Protoss, I want Zealots attack Terran Supply Depot first. (Picture 1)

I always prevent them to not attack my building by build Terran Supply Depot each gate and I build Marines standing after Supply Depot, then Zealots can't attack Marine because Zealots is prevented by Supply Depot. So, to difficult, I want make for AI Protoss attack Terran Supply Depot first. Do you know how to make it ? Thanks

Hits: 4 Size: 552.28kb


Nov 14 2021, 8:01 am TheHappy115 Post #2

I don't know if this can be done with EUD triggers (that's not my thing) but Supply depo have lower priority than marines. In a sense when the zealots are being attacked or near a unit with higher priority, they will always target that higher priority unit (even if they are unreachable). This applies to all AI as far as I know of (also used to cheese 1v7 AIs as you just wall in to stop their forces). I'm not familiar enough with EUD triggers and data memory manipulation but there is probably a way to increase a supply depo's priority.

Alternatively, there is a method in which you can force the supply depo to be attacked by making the Marines an ally and making the supply depo an enemy. This method would be harder because from what I know it takes at least 3 players involving something like this:
Player 1 (Red) Controls the Marines and can attack Zealots
Player 2 (Blue) Controls Zealots and is unallied with Player 3 (supply depo) but allied with Player 1 (marines)
Player 3 (Teal) Controls the Supply Depo

However, to my knowledge, AI characters will still attack allies if they are attacked by said ally (only targeting the unit that initiated the attack). In this case, it still may disrupt the AI and may require to "preserve trigger" the ally status to prevent it from trying to target the marine to focus the supply depo (Hyper triggers definitely prevent it from focusing allies). This, however, creates another problem now that the marines won't get attacked! However, you can attempt to remedy this by having another trigger the makes the zealots unally the marines once the supply depo is either destroyed OR when there are no supply depo at the location.

Unfortunately, this is a bit of a "sloppy" solution but it is only one that I can think of. Maybe someone else may have a solution. (If you just need a wall and don't care what it is, reavers without scarabs also work as a wall and WILL be priority targets even if someone is attacking the zealots. I'm not entirely sure about other structures such as unpowered cannons)

Side Note: There are some AI scripts that are interesting in that they will "acquire" a target and will forcibly attempt to attack it regardless of priority (and will even try to walk around other units to get to it) but I'm not entirely sure what that trigger is as I've never used it


Nov 14 2021, 8:17 am GGmano Post #3


You can also use invinsibility not easy but maybe possible

A Legendary Map Maker and Player
My maps are tweaked into perfection and maximum strategy added

Nov 14 2021, 12:08 pm DaMnUFo0 Post #4

Run AI Script - Set All Units on Strategic Suicide Missions - and hope for the best.

Tinkering around with EUD triggers can also make the behavior of the attack wave to prioritize walls/blockages, but it's been a while since I did such triggers.

  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:18 am]
GGmano -- I would have released my New map yesterday if scmdraft didnt fail on saving the merged file
[08:17 am]
GGmano -- Not cool when I made such Nice system and I could make it even better if more trigger allowed
[08:16 am]
GGmano -- Damn now I have reduce trigger amount impossible to save fil
[2022-6-27. : 11:03 pm]
jjf28 -- GGmano
GGmano shouted: its not possible to move around a p12 owned preplaced a
when I tried - ya not possible
[2022-6-27. : 11:02 pm]
Zoan -- idk, maybe if you change a setting with euds you can do it. Something like the Unit List and Palletes thing or whatever it's called
[2022-6-27. : 9:42 pm]
GGmano -- i thought that would be easy but dont work on my test
[2022-6-27. : 9:42 pm]
GGmano -- its not possible to move around a preplaced p12 owned dark swarm?
[2022-6-27. : 9:41 pm]
GGmano -- dark swarm
[2022-6-27. : 9:41 pm]
GGmano -- its not possible to move around a p12 owned preplaced a
[2022-6-27. : 1:08 pm]
jjf28 -- having played the architect just fine - no not necessarily
Please log in to shout.

Members Online: jjf28, Roy