trigger works but new problem now AI wont stop scanning...anyone have a way where it only scans once, it seems to be scanning based on number of units/attacks
Not sure if this is what your looking for but this is how I make my units hunt the closest target
event-
Unit- any unit becomes idle
conditions-
owner of trigg unit = ?
triggering unit is excluded: heroic
Action-
Unit order (triggering Unit) to (attack targeting (position of (closest unit to (position of (triggering unit)) in (any units in (entire map) owned by player ? matching excluded: etc etc etc
another thing you could try is to set patrol orders
I though this would work like cloaked units, I have unit on higher ground and I want the AI it to scan for it...seems using flags like hidden or visible doesn't seem to work. At this point I am at a lose here
ok I don't know if this post is in the right place but, I need the help lol. So I have a shop that does my upgrades for my hero's and units owned by a cpu town. Now I have share control and it gives me the building and I can see the upgrade, however when i click the upgrade that hero doesn't get the upgrade the cpu town get it...how do i stop that?
0
[Solved]
Need to make a boolean var for a condition True/false
0
trigger works but new problem now AI wont stop scanning...anyone have a way where it only scans once, it seems to be scanning based on number of units/attacks
0
[SOLVED]
Event-
Unit-Any unit is attacked with (pick your weapon)
Actions-
Then-
Unit Group- pick each unit in (Any units in (Entire Map) owned by Player # matching Excluded: Visible, dead, with at most Any amount) and do (Actions)
General If then else
If-
Unit type of (Picked Unit)= Siege tank (siege Mode)
((Picked unit) is visible to Player #)= False
Then
Unit- Order Orbital Command to (Scanner sweep targeting (Position of (Picked unit))) (Replace Existing Orders)
0
Not sure if this is what your looking for but this is how I make my units hunt the closest target
event-
Unit- any unit becomes idle
conditions-
owner of trigg unit = ?
triggering unit is excluded: heroic
Action-
Unit order (triggering Unit) to (attack targeting (position of (closest unit to (position of (triggering unit)) in (any units in (entire map) owned by player ? matching excluded: etc etc etc
another thing you could try is to set patrol orders
0
I though this would work like cloaked units, I have unit on higher ground and I want the AI it to scan for it...seems using flags like hidden or visible doesn't seem to work. At this point I am at a lose here
0
yeah haha...I didn't think i could make a building hidden and still work, was trying to do it with shared ability's....
0
ok I don't know if this post is in the right place but, I need the help lol. So I have a shop that does my upgrades for my hero's and units owned by a cpu town. Now I have share control and it gives me the building and I can see the upgrade, however when i click the upgrade that hero doesn't get the upgrade the cpu town get it...how do i stop that?