Is this the best way to create a to-do checklist?

I want a simple checklist. You start a level, a widget is created, and it has a list of tasks that get ticked off as you complete them. Each task is going to involve an actor, and there are going to be around 5 actors on the level. When you interact with the actor, a boolean somewhere is set to true, and the task is ticked off on the widget.

I tried using a data table, each row would have the name of the task, and a boolean. I just realized though that Data Tables are read only, and you can’t cast them from a Data Table to a Check Box.

My next thought is to just add a bunch of booleans to the level blueprint, and try to cast back and forth between the actors, the level_BP, and the widget. Is there some better way of doing this? I feel like it would probably be a lot quicker if I was using data tables, and my projects end up looking like a mess of nodes casting everything everywhere, and everyone elses are nice and clean full of comps and things.

You can create a Blueprint that handles all of the list logic. It keeps track of who interacted with whom.

You generally want to keep similar behaviors/mechanics within the same Blueprint to prevent confusion.

The “BP_List” will cast to the characters, store their references, and allow you to enjoy the rest of your day.

1 Like

What kind of blueprint do you think would work for that? An Actor Comp?

Just a regular ACTOR blueprint will work.

Just make sure that it exists in the level by dropping it in or spawning it from a valid source or you WILL get an error.