"8 The Amalekites came and attacked the Israelites at Rephidim. 9 Moses said to Joshua, “Choose some of our men and go out to fight the Amalekites. Tomorrow I will stand on top of the hill with the staff of God in my hands.”
10 So Joshua fought the Amalekites as Moses had ordered, and Moses, Aaron and Hur went to the top of the hill.11 As long as Moses held up his hands, the Israelites were winning, but whenever he lowered his hands, the Amalekites were winning.12 When Moses’ hands grew tired, they took a stone and put it under him and he sat on it. Aaron and Hur held his hands up—one on one side, one on the other—so that his hands remained steady till sunset. 13 So Joshua overcame the Amalekite army with the sword."
It occurs that this may have been the beginning of troop spotting and signalling. Standing there at a height as all kings did and do to know the where of all about Moses had codified a series of hand Signals in all likelihood to aid the Israelites to better anticipate the field and victory was thus maintained through superior logistics and intelligence.