# A problem with a Q&A system!

**URL:** <https://forums.unrealengine.com/t/a-problem-with-a-q-a-system/1249222>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Widget, Blueprint, question\
**Created:** [August 3, 2023, 8:05am UTC](https://forums.unrealengine.com/t/a-problem-with-a-q-a-system/1249222 "2023-08-03T08:05:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WDRK23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wdrk23/32/1002509_2.png) [@WDRK23](https://forums.unrealengine.com/u/WDRK23)\
**Post date:** [August 3, 2023, 8:05am UTC](https://forums.unrealengine.com/t/a-problem-with-a-q-a-system/1249222/1 "2023-08-03T08:05:17Z")

</div>

Hi! I want to make a simple question and answer system, but I have a problem with the code.  
When I put the right solution the system doesn’t work well.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/7/367779fd61eca32877fe07593ddd5ee23635c3e9.jpeg "2023 08 03 10 56 46") ](https://www.youtube.com/watch?v=0xG5Fq58NJA)

 ![BP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/e/b7edcf21b3f26a37c094bb7e1976e186cc311417.png)  
**Question**  
 ![QUESTION](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/e/86e5b8ebc2f221a8ee1eb01bbe46532b0a3f9f86.png)  
**Solution**  
 ![SOLUTION](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/0/050165864aa3697e2737f5a542f47ba33ba5a18a.png)

I didn’t do something right!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 3, 2023, 8:19am UTC](https://forums.unrealengine.com/t/a-problem-with-a-q-a-system/1249222/2 "2023-08-03T08:19:48Z")

</div>

It’s this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/d/27d849048aa67aed9e642785b3bcaa58f6202c75.png)

Note there are 3 wires coming out. This function runs 3 times since the wires connect to nodes with white execution pins. Each time it will give you a **different** random. Try it like so:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/9/4496af02fa171872a8d70d566134a85aa295307c.png)

Ensure the randomisation is only done **once**.

---

<div class="post-metadata">

**Author:** ![WDRK23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wdrk23/32/1002509_2.png) [@WDRK23](https://forums.unrealengine.com/u/WDRK23)\
**Post date:** [August 3, 2023, 8:30am UTC](https://forums.unrealengine.com/t/a-problem-with-a-q-a-system/1249222/3 "2023-08-03T08:30:13Z")

</div>

Right! It works!  
Thank you man!!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 2, 2023, 8:30am UTC](https://forums.unrealengine.com/t/a-problem-with-a-q-a-system/1249222/4 "2023-09-02T08:30:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
