• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Trigger to make Boss never flee nor when attacking unit is running away.

Status
Not open for further replies.
Level 1
Joined
Dec 20, 2011
Messages
4
Hello Everyone.
I am really new to triggers and working on a map after Reforged was released.
I have worked out a boss fight where units in a unit group attacks a boss and if they die, boss resets.
Now I want boss to keep chasing heroes, even if they run away from him. He needs to keep attacking even if they run away.
Anyone has an idea to do this easy?

Thanks for reading.
BR
Rasser
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
If the boss is owned by Neutral Hostile this might not be possible as Neutral Hostile has their own mechanics and logic. Otherwise if it is owned by a player you can disable its guard distance and then use a trigger ordering it to periodically (every few seconds) attack towards the nearest person involved in the boss fight.
 
Level 21
Joined
Mar 29, 2020
Messages
1,236
If the boss is owned by Neutral Hostile this might not be possible as Neutral Hostile has their own mechanics and logic. Otherwise if it is owned by a player you can disable its guard distance and then use a trigger ordering it to periodically (every few seconds) attack towards the nearest person involved in the boss fight.

I think you can do that with neutral hostile too, you just need to have the timer be more frequent, or better yet to intercept their "move" order that sends them back to their starting position and replace that with your order.

but yeah, I guess why intentionally clash with the harcoded stuff for no reason...
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
I think you can do that with neutral hostile too, you just need to have the timer be more frequent, or better yet to intercept their "move" order that sends them back to their starting position and replace that with your order.
I recall trying this in the past and not only was their move order implicit (no order issued) but they would mostly ignore any orders issued while leashing.

Other odd behaviours include Neutral Hostile completely ignoring buildings when not near their camp site, even those that are attacking them.
 
Level 21
Joined
Mar 29, 2020
Messages
1,236
I recall trying this in the past and not only was their move order implicit (no order issued) but they would mostly ignore any orders issued while leashing.

Other odd behaviours include Neutral Hostile completely ignoring buildings when not near their camp site, even those that are attacking them.
dunno, I did this in the past and it seemed to work. just checked for when they issued a move order to their starting location and replaced that with my order.
 
Status
Not open for further replies.
Top