• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

HIVE

FeelsGoodMan
FeelsGoodMan
Sure I can take a look but I'm not sure I understand exactly what you want them to do? Can you throw me a PM?
deepstrasz
deepstrasz
Well, I want the dragons to move like the interceptors in the video/gif. Currently they are haphazardly following 500 offset of the target towards their own facing angles.

Also, because I use periodic events their movement is staggering.
FeelsGoodMan
FeelsGoodMan
Isn't the interceptor in the gif also moving haphazardly? Or what logic does it follow when moving? I just see it attacking, moving away a little then attacking again?
deepstrasz
deepstrasz
I've no idea but at least it moves better than me poor dragons and at farther distances from time to time.
deepstrasz
deepstrasz
I'll add another .gif with multiple interceptors. They don't all move together in the same direction like the dragons.
FeelsGoodMan
FeelsGoodMan
Ok so I think I know what you want. Let me eat lunch at work and then get back to you.

Also just for information, you don't need to add an additional "and" block to your if/then/else blocks. It will automatically check if all conditions under "if" is true before performing actions.
deepstrasz
deepstrasz
Have a good one!

Ah, only OR is necessary you say when you want to check only 1 from or multiple from any?
FeelsGoodMan
FeelsGoodMan
You can use "OR" if any of the conditions are true.
deepstrasz
deepstrasz
Yes. I mean, that one is required to specify such a condition function but why did they make the AND bundle if it's not necessary in the first place :p?
FeelsGoodMan
FeelsGoodMan
It has certain uses, like inside an "OR" :p Like:

"IF unit type of triggering unit is footman" or "unit type of triggering unit is knight" AND "triggering unit has item of type".

Not sure if that made sense. If not I can show you an actual trigger.
FeelsGoodMan
FeelsGoodMan
So this would effectively trigger if it's either a footman or a knight that carries an item.
deepstrasz
deepstrasz
Ah yes, lol. Forgot about that.
Yeah, I know. Just didn't cross my mind at that moment.
FeelsGoodMan
FeelsGoodMan
How many interceptor units can the carrier have at once?
deepstrasz
deepstrasz
8 in the original game. I also used 8 dragon whelps.
But it should work dynamically depending how many are at one time.
Top