• 💀 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!

[General] Any way to change formation rank in-game?

Status
Not open for further replies.
Level 7
Joined
May 13, 2011
Messages
310
Did a quick Google and got this page. I actually didn't know that that field even existed before I saw this thread :xxd:

Formation Rank basically controls where the unit goes in a group when you move (unless unit formation is turned off). That way you can set melee units to go up front, and ranged units to go down back.

The way it works is the lower the value, the closer to the front the unit goes. So you'd have melee units like Footmen set to 0, slightly ranged ones like Spell Breakers at 1, middle ranged like Riflemen at 2, long-ranged like Glaive Throwers at 3, and chicken units like Peasants at 4. You can set it higher (up to 9) but I don't know what it does, probably just sets them further back.

About changing this during gameplay (triggers), I don't think it's possible. It'd be cool though.
 
Level 7
Joined
May 13, 2011
Messages
310
Unfortunately no. The closest thing I could find was this, but I don't think it's exactly what you want.
However if it is, remember it initially uses Custom Values, so you'll be better off replacing those with hashtables.

I might have another look later on though, after school. If I find anything I'll edit this post.
 
Level 7
Joined
May 13, 2011
Messages
310
You're welcome. Although as I said, I just Googled, I didn't even know about this before I read your post. It's been quite educational for me too :grin:
 
Status
Not open for further replies.
Top