# Randomly Setting Cost Values of Nav Area

**URL:** <https://forums.unrealengine.com/t/randomly-setting-cost-values-of-nav-area/471067>\
**Category:** AI\
**Tags:** Navigation, nav-mesh-bounds-volu, unreal-engine, question\
**Created:** [September 9, 2020, 11:13am UTC](https://forums.unrealengine.com/t/randomly-setting-cost-values-of-nav-area/471067 "2020-09-09T11:13:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FishOmelette](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Post date:** [September 9, 2020, 11:13am UTC](https://forums.unrealengine.com/t/randomly-setting-cost-values-of-nav-area/471067/1 "2020-09-09T11:13:37Z")

</div>

Is there a way to randomly appoint values to the cost values of custom nav areas using blueprints? I would like to randomly generate values to input into the cost values so each AI would have a different path it would take to reach a destination. I’ve seen this post (  
[https://answers.unrealengine.com/questions/91843/how-to-change-navigation-cost-in-realtime.html](https://answers.unrealengine.com/questions/91843/how-to-change-navigation-cost-in-realtime.html)) where Rama suggested to do it using C++ but other than this, is there no other way? Does Rama’s Victory Plugin include anything that could aid in this? Thanks for any help in advance 🙂
