When there are two situations happened in the future. Using "Future Perfect Tense" with the situation that happened first and using Future Simple Tense with another situation.
Marry will have gone already by the time you will be there.
I will have jumped to the water if the bear will come.