# How to make an order puzzle?

**URL:** <https://forums.unrealengine.com/t/how-to-make-an-order-puzzle/361380>\
**Category:** Blueprint\
**Tags:** unreal-engine, editor, UE4, Blueprint, question\
**Created:** [June 20, 2016, 5:08am UTC](https://forums.unrealengine.com/t/how-to-make-an-order-puzzle/361380 "2016-06-20T05:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GB3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GB3](https://forums.unrealengine.com/u/GB3)\
**Post date:** [June 20, 2016, 5:08am UTC](https://forums.unrealengine.com/t/how-to-make-an-order-puzzle/361380/1 "2016-06-20T05:08:28Z")

</div>

Hi there,

I am trying to make a puzzle where, when objects are destroyed in a certain order, X will happen. How would I go about doing this using arrays?

Thanks, all help is appreciated.

---

<div class="post-metadata">

**Author:** ![Fritsl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fritsl](https://forums.unrealengine.com/u/Fritsl)\
**Post date:** [June 20, 2016, 10:57am UTC](https://forums.unrealengine.com/t/how-to-make-an-order-puzzle/361380/2 "2016-06-20T10:57:59Z")

</div>

There’s not a lot of info in your question, but I did something similar once:

Each object has a letter on it in a variable, like ‘H’

Every time one is destroyed, you append that letter to a string, call it Key .

Another string is ‘the Lock’, could be ‘HELLO’

If the Key - string matches the Lock - string, it’s there 🙂

You do not need to involve an array as such. Hope this gave you clues to a direction 🙂

---

<div class="post-metadata">

**Author:** ![oolyvi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oolyvi/32/715655_2.png) [@oolyvi](https://forums.unrealengine.com/u/oolyvi)\
**Post date:** [January 17, 2026, 1:52pm UTC](https://forums.unrealengine.com/t/how-to-make-an-order-puzzle/361380/3 "2026-01-17T13:52:32Z")

</div>

you are the best!
