I have an NPC that would be the main guide in my game. The idea is that I have several lines that I want for this guide to tell the player - after the player interacts with it (by hitting E).
The problem is that I don’t want for the guide to info dump onto the player all the lines at once.
My idea is that when you had just spawn for the guide to tell you something like “use WASD to move”, when you go to some other part of the game where you gotta jump - the guide should appear and say “use SPACE to jump”.
AND/OR
When you go to the next level (since it’s sort of a puzzle game) and the guide has something to tell you - once again - to just appear and tell you ONLY what you have to know.
But what I have for now is all the lines stored in a single array - in a way that you click through all of them. Here’s my BP:
How do I do this selective dialog method? I was thinking about doing all the lines in different arrays and calling them somehow throughout the game.
The dialogue is done by this video: https://www.youtube.com/watch?v=hbs0xaNOeA0&list=PLkMKNO49nsmJpiK2XPCQ6AO2OBVusQZJN&index=27
I also tried looking up some topics into the forum, but i couldn’t orientate myself