# random int in range from stream.

**URL:** <https://forums.unrealengine.com/t/random-int-in-range-from-stream/39880>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 27, 2015, 7:14am UTC](https://forums.unrealengine.com/t/random-int-in-range-from-stream/39880 "2015-08-27T07:14:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a62352a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a62352a2](https://forums.unrealengine.com/u/anonymous_user_a62352a2)\
**Post date:** [August 27, 2015, 7:14am UTC](https://forums.unrealengine.com/t/random-int-in-range-from-stream/39880/1 "2015-08-27T07:14:31Z")

</div>

I’m trying to pull a consistent number from an array, but every time the stream gives me a different string of array indexes, am I doing something wrong or is something broken with the random streams?

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [August 27, 2015, 7:43am UTC](https://forums.unrealengine.com/t/random-int-in-range-from-stream/39880/2 "2015-08-27T07:43:15Z")

</div>

The stream will give you a constant PATTERN of numbers: For example, 1st time starting up game: 1, 26, 81, 8. 2nd time starting up game: 1, 26, 81, 8. You can also reset a stream if necessary.

Edit: For your future reference, a question like this is better suited in the ‘Blueprint Visual Scripting’ sub-forum.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a62352a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a62352a2](https://forums.unrealengine.com/u/anonymous_user_a62352a2)\
**Post date:** [August 27, 2015, 9:09am UTC](https://forums.unrealengine.com/t/random-int-in-range-from-stream/39880/3 "2015-08-27T09:09:18Z")

</div>

Is there a way to move the post to the right forum?

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [August 27, 2015, 10:17am UTC](https://forums.unrealengine.com/t/random-int-in-range-from-stream/39880/4 "2015-08-27T10:17:50Z")

</div>

Yes, you can always PM a moderator of your choice and ask him to move it.  
I already moved it and deleted your other copy that you made in the BP section (:

Have an awesome day!
