Jump to content


Changing Unit Target Priorities


  • Please log in to reply
4 replies to this topic

#1 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 10 July 2010 - 07:24 AM

i've been wondering if this was possible. actually it's not that far fetched if i think about it.

what i want to do is change my siege unit's target priorities. when it comes near a tower it keeps shooting the ground troops but i want it shooting the tower. i tried this once with triggers but it messed their attack pattern. i'm guessing it's in the AI editor but i don't ever use the thing and gave up trying to learn it. can you give me a few pointers?...

#2 pezzaperry

pezzaperry

    I'm Boxxy ya see?

  • Members
  • PipPipPipPipPip
  • 2511 posts
  • Bnet Name:Pezzaperry
  • Bnet Realm:Lordaeron

Posted 10 July 2010 - 07:57 AM

When it's in range it auto attacks towers no?

#3 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 10 July 2010 - 08:05 AM

hmm doesn't seem that way. well ok so let's just say i have a unit that should specifically attack another specific enemy unit when in range. (i'll have to do this later once i solve this one)...

#4 casab1anca

casab1anca

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 419 posts
  • Bnet Name:casab1anca
  • Bnet Realm:none

Posted 10 July 2010 - 08:25 AM

Can't you use the "unit within range" event and order your unit to attack that unit then?

#5 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 11 July 2010 - 01:11 AM

tried it but the unit kept changing targets; back to ground units. i want the siege units to focus fire only on buildings when in range...

EDIT: hmm, probably has something to do with my hero being attacked. i'll have to check again...

Edited by Hellmonja, 11 July 2010 - 01:17 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users