# How to choose between multiples locations for the next path to the AI?

**URL:** <https://forums.unrealengine.com/t/how-to-choose-between-multiples-locations-for-the-next-path-to-the-ai/1892754>\
**Category:** Blueprint\
**Tags:** ai-navigation, random, unreal-engine, Blueprint, question\
**Created:** [June 6, 2024, 6:40pm UTC](https://forums.unrealengine.com/t/how-to-choose-between-multiples-locations-for-the-next-path-to-the-ai/1892754 "2024-06-06T18:40:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JulienYes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JulienYes](https://forums.unrealengine.com/u/JulienYes)\
**Post date:** [June 6, 2024, 6:40pm UTC](https://forums.unrealengine.com/t/how-to-choose-between-multiples-locations-for-the-next-path-to-the-ai/1892754/1 "2024-06-06T18:40:29Z")

</div>

Here is the blueprint : [https://www.youtube.com/watch?v=n\_2QegXIfDI](https://www.youtube.com/watch?v=n_2QegXIfDI)

So look, i made a game where when the player look at “Creation” he goes back to the “Spawn Location” then after 10s delay it will go to a random location, but the random integrer choose only 1 and i want it to reset everytime.
