If you roll multiple dice at the same time, and one of them is your third die roll that turn, Resolute Veggiesaur’s ability will trigger. It’s not necessary (or, in some cases, possible) to identify which roll was the third.