Get AI to jump to another platform on the same Z level in realtime

Recreating TNT run in UE4 and basically want to give the AI the ability to jump from platform to platform when they have nowhere else to go. At the moment, when they’ve worked themselves into a corner and don’t have any connecting blocks, they just stand there and wait for the one underneath them to disappear despite a block being in a jump’s reach, which is what a regular player would attempt to do. Since blocks disappear when playing the game, it’d have to be done dynamically. Any ideas on how I could go about making this?