• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

priorities, omfg I'm a noob^^

Status
Not open for further replies.

IllidantheBetrayer

I

IllidantheBetrayer

Hey guys,
I have a easy problem, but at the moment, I don't get it...
Okay, you one small way, in this small way stands a WALL(building), behind the WALL stands a tower(building), now if enemy units come, they will automaticly attack the WALL, but only if the tower don't shot. So, if the tower shots, they will try to attack the tower and so, they don't attack the WALL, what can I do? the priorities of the WALLs are higher as the priorities of the towers, I have thought about a trigger, which means, every second checks if a unit from type wall y is in range of 64(or something like that) , then attack wall y, but it must go easier, or?
thanks
Illidan :spell_breaker:
 
ah yeah, that was my theory, too, but I can't handle it like in WoW xD
It's bad, that the game haven't a passiv taunt ability xD
 
  • Attack Wall
    • Events
      • Unit - A unit owned by Neutral Hostile Is issued an order targeting an object
    • Conditions
    • Actions
      • -------- This just makes it so if a unit attacks a defined tower (on the map) instead will attack the wall. --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Targeted unit) Equal to TOWER 0000 <gen>
        • Then - Actions
          • Unit - Order (Attacking unit) to Attack WALL 0001 <gen>
        • Else - Actions
          • Do nothing
 
yeah, so it can work, no I must only make this trigger for general, 'cause its a LTW xD^^
but I think, I found with the trigger a way to do it^^
 
Status
Not open for further replies.
Back
Top