You want to create some sort of data structure where you can keep track of the state of the objectives. You probably use gameplay attributes and gameplay effects with tags to accomplish that
To add on a bit more to what @UncleTron explained, check out these non-epic affiliated tutorials to help get you started, hopefully in the direction you are looking for:
So, for the item with the collision box that will display the current objective, I would have to add that to my generator BP?
Because If I do, then where would I have to put it? I already have a collision box that displays the widget to fill up the generator.
I tried adding another collision box with the BP from the second video you added, but the collision box would instead destroy the actor (Generator) instead of displaying the objective.
The above were examples to get you started. Can you provide some more context as to what you are trying to achieve and what is going wrong? It’s a bit hard to tell with the context provided, as we were talking about the objectives specifically before. Screenshots are always welcome.
Any additional specifics or information you can provide may go a long way in solving your problem!
It would be the same concept as when you first set your objectives. Clear/remove your current objectives or widget and replace it with the ones you need. Are you having trouble doing so?
I followed Matts video up above for the objective box triggers. And I’m gonna design my game so for the first two box triggers will be walk-ins.
That will be for triggering the first objective to find the gas can, and the second will be on the gas can, triggering the next objective to fill up 6 or 8 generators. (I’m still deciding on the number of generators to add)
But I want to design either the generator, or the objective trigger box so after the last generator is filled, it triggers the last objective to escape.
I decided to have the last objective be just escape the room rather than adding an additional.
Is there something I need to change in the generator actor? Or do I just need to add a trigger box to a random generator? Because I don’t know how that would work.
feel like I have to add more to this widget event graph since this is the one that triggers the amount of generators fill up after holding down ‘LMB’ to fill up the generator?
I suggest you do that in the generator or have 1 actor keep track of the status of the generators and also generate a text to update the UI or quest class.