# Been asking this for 4 months, logic help

**URL:** <https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 11, 2015, 3:26pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498 "2015-03-11T15:26:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KareemTheGod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KareemTheGod](https://forums.unrealengine.com/u/KareemTheGod)\
**Post date:** [March 11, 2015, 3:26pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/1 "2015-03-11T15:26:45Z")

</div>

Hello, uh hello? Well I still get an answer for this for some reason when i hit play it only shows one text but I need it randomly spawn on the screen its for my soccer game.

 ![33666-play.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/2/4e24e3cc69bda60e3aa50828901eff05e2000818.jpeg)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [March 11, 2015, 3:36pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/2 "2015-03-11T15:36:18Z")

</div>

How you want to spawn it randomly if you have nothing random on the graph?

---

<div class="post-metadata">

**Author:** ![KareemTheGod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KareemTheGod](https://forums.unrealengine.com/u/KareemTheGod)\
**Post date:** [March 11, 2015, 3:42pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/3 "2015-03-11T15:42:05Z")

</div>

Look at my logic I have text set up to randomly spawn

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_99e8ad321](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99e8ad321](https://forums.unrealengine.com/u/anonymous_user_99e8ad321)\
**Post date:** [March 11, 2015, 3:48pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/4 "2015-03-11T15:48:53Z")

</div>

you keep using that word. i do not think it means what you think it means. delete the whole array index math and get a “randomfloatinrange”. dividing the index by 11 for instance will return 0/1 for 0-11

---

<div class="post-metadata">

**Author:** ![KareemTheGod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KareemTheGod](https://forums.unrealengine.com/u/KareemTheGod)\
**Post date:** [March 11, 2015, 4:05pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/5 "2015-03-11T16:05:39Z")

</div>

Didnt do anything yo

---

<div class="post-metadata">

**Author:** ![Amstrad00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amstrad00](https://forums.unrealengine.com/u/Amstrad00)\
**Post date:** [March 11, 2015, 4:18pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/6 "2015-03-11T16:18:58Z")

</div>

When you used randomfloatinrange did you actually set a range for it to choose from?

---

<div class="post-metadata">

**Author:** ![KareemTheGod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KareemTheGod](https://forums.unrealengine.com/u/KareemTheGod)\
**Post date:** [March 11, 2015, 4:56pm UTC](https://forums.unrealengine.com/t/been-asking-this-for-4-months-logic-help/310498/7 "2015-03-11T16:56:44Z")

</div>

Of course I did everyone for the randomfloatinrange, absolutely nothing. Unless i maybe possibly doing it wrong it would be nice if you guys could show what you mean.
