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

[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