# Creating a combat log in Blueprint

**URL:** <https://forums.unrealengine.com/t/creating-a-combat-log-in-blueprint/150005>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 30, 2020, 8:27pm UTC](https://forums.unrealengine.com/t/creating-a-combat-log-in-blueprint/150005 "2020-08-30T20:27:07Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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 31, 2020, 10:39am UTC](https://forums.unrealengine.com/t/creating-a-combat-log-in-blueprint/150005/10 "2020-08-31T10:39:58Z")

</div>

> [@Jbl86](#):
>
> Wow, thanks a lot! I don’t have access to my home pc right now but I’ll sure look into all this as soon as I can. Thank you very much for the help!

No problem, if you want to experiment with the List View instead:

- create an Object class blueprint in the content browser with an exposed text variable - it will be used to store data in the list view, called _Entry Data_ below.
- once you have it, you can do this in the wLogLine’s class settings:

 ![linewithlistviewinterface.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/7/f75c554dc77d8bb92f453bc92708f58a5f45badd.jpeg)

The _Implemented Interfaces_ bit on the left is the critical part here! It allows you to pull the data from a list view object and assign it to the widget’s variable. The _wCombatLog_’s List View widget below will then need its _Entry Widget Class_ set to the above-mentioned _wLogLine:_

 ![listviewclass.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/7/c719c2a6f44e3d7da1afd1703d1dc9993a18827c.jpeg)

Now, instead of creating new widgets, you construct Entry Data objects and push them into the List View.

 ![wLogWithListView.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/5/c57646a724d7ed8fd1ab63c5ff34ae72a527b0a8.jpeg)

From now on, the List View handles the lifespan of the widgets it creates. Even though I have 200+ entries here (after mashing the spacebar like a madman)…

 ![spacetoadd.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/5/a5caf7017818e71f4f24e6056bf327605276384f.jpeg)

![Annotation 2020-08-31 113213.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/5/253c9ae802734c8969da3cbfee8b4e95f0e0b8a0.jpeg)

… the list view displays 12 widgets and holds around 20 active at a time. So, having a potentially huge list is not that much of a hindrance and / or performance hog. Not sure about the memory footprint but it should be be lower providing the widget lines are complex enough.

---

_[View the full topic](https://forums.unrealengine.com/t/creating-a-combat-log-in-blueprint/150005)._
