HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

GroupAddUnit

11-30-2006, 01:09 AM#1
PurplePoot
When you add a unit to a group with GroupAddUnit, will that unit be added to the START of the stack (the new FirstOfGroup), or will it be added to the END of the stack (the Last unit in the group)?
11-30-2006, 01:38 AM#2
Jazradel
It decided by "Stats - Formation Rank"

See http://www.wc3campaigns.net/showthread.php?t=89485
11-30-2006, 10:24 PM#3
shadow1500
PurplePoot: Why don't you check it for yourself? It takes a minute anyway.

Jazradel: He was asking about the bahavior of groups in JASS, not player unit selections.
12-01-2006, 12:47 PM#4
Vexorian
groups are seriously random, I noticed that heroes always have a priority with FirstOfGroup, also, they are in no way Stacks or queues they are just random stuff.
12-02-2006, 05:04 PM#5
The_AwaKening
However; I've tested this before with panda. When I grouped the 3 panda spawns from his ultimate, the order always seems to be the same.
12-02-2006, 09:37 PM#6
PurplePoot
shadow - I cant, as I do 99% of everything (including code) in programming class at school, since I've had an abominable amount of HW lately >.>