Flags have been typically used as rallying features at some point of battles; squaddies might gather around their shades for morale
https://numberfields.asu.edu/NumberFields/show_user.php?userid=6936452
Flags were mostly used as rallying elements for the time of battles; soldiers could accumulate round their shades for morale aid whilst faced with overwhelming odds.