Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Why are my A.I.'s not attacking eachother?
Why are my A.I.'s not attacking eachother?
Jun 20 2022, 11:23 am
By: Volumes  

Jun 20 2022, 11:23 am Volumes Post #1



They are on opposing forces with no allies and are set to Enemy Alliance Status /w trigger preserved. Why won't they attack eachother?



None.

Jun 20 2022, 2:08 pm GGmano Post #2

Mr.Pete-Tong

Your need to read learn alot about map making for sc i see, The units need to have the patrole order given or you can run the random suacide script for units to attack the nearest enemy, if you use the order move or attack then the computer units wont attack anything on their way to their destination, using the patrole order is what you need. remember to set a timed cycle on the order you give the units if you order em instantly preserved it will fuck up the order, so you need use a death count variable, set to 65 death count variable preserved when doin the patrole order and in another trigger you substract 1 from that death count variable preserved.



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Jun 21 2022, 3:34 am Volumes Post #3



Thank you very much for the response! I understood the first half as I did have it set as :Order to Attack to destination, but I got a bit confused regarding the death count variable. I'm not too sure how to make that into a trigger. Thanks!



None.

Jun 21 2022, 4:51 am GGmano Post #4

Mr.Pete-Tong

Quote from Volumes
Thank you very much for the response! I understood the first half as I did have it set as :Order to Attack to destination, but I got a bit confused regarding the death count variable. I'm not too sure how to make that into a trigger. Thanks!

Theres death count function in conditions and theres set death count function in actions.

to setup a simple variable system, you need two triggers

in trigger 1

condition p1

always

action

add 1 death count to marine p1
preserved


trigger 2
condtion p1
p1 suffered 100 death count marine

action
order all men at anywhere to patrol to location destination
set death count marine set to 0 p1
preserved


p1=player1 but could be any player which is in the game either a human active player or a computer player
death count marine could be other unit buildings too(a variable) if using marine that player must never own a marine because than youre variable system can be affected if that marine is killed.
location destination is where you want your units to attack(patrole to)


with this system you can make units attack to another location fairly easy



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[03:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Roy, Ultraviolet, RIVE