So far my ai is coming among but I've ran into a minor hiccup. Im trying to figure out away to find out whats the closest unit to my ai unit thats a ally. I used the closest unit to a point an converted the ai units position to a point an search by radius from where the ai unit is. My problem is it seems the point picks up the ai unit instead of finding allies in a radius. Any idea how to fix or a work around? I need a method to find position of allied units without including itself.
I know it's a trigger. I was referring to the overhead as far as slowing other triggers and the game down. I know sc2 is a lot more stressful than sc1 and wc3 so I want this to run on low end systems pretty well.
I'm making my own Ai to use in my maps. I'm in the process of drawing it on paper of everything I want it to do. I was thinking about starting the Ai off the trigger, a unit acquires a target. My questions are is this a good way to trigger it? I plan on having 100s of units using the ai to attack and retreat.
My next question is would I need to have functions for ai ordering units run on their own thread (I think, not near editor to verify)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So far my ai is coming among but I've ran into a minor hiccup. Im trying to figure out away to find out whats the closest unit to my ai unit thats a ally. I used the closest unit to a point an converted the ai units position to a point an search by radius from where the ai unit is. My problem is it seems the point picks up the ai unit instead of finding allies in a radius. Any idea how to fix or a work around? I need a method to find position of allied units without including itself.
I know it's a trigger. I was referring to the overhead as far as slowing other triggers and the game down. I know sc2 is a lot more stressful than sc1 and wc3 so I want this to run on low end systems pretty well.
I'm making my own Ai to use in my maps. I'm in the process of drawing it on paper of everything I want it to do. I was thinking about starting the Ai off the trigger, a unit acquires a target. My questions are is this a good way to trigger it? I plan on having 100s of units using the ai to attack and retreat.
My next question is would I need to have functions for ai ordering units run on their own thread (I think, not near editor to verify)