Would anyone know a script or method to create a message box that constantly updates based off of event messages?
Like this:
I'm trying to wrap my head around this myself basically it's a text box that is part of the UI. And it announces events based off of players actions.
For example:
Player walks into x NPC --> NPC moves a tile away --> "You displace the little girl"
Player walks over x object on ground --> "You see a carpenter's tool here".
Other applications of this are background events that are basically just sentences that add immersion to the world.
For example, walking around in a town and a randomly selected phrase from a list of phrases is played from x% chance and announced into the dialogue box.
The game would check this x% chance every movement turn. The game is turn based like a dungeon crawler. No final fantasy like combat but instead where the NPCs take a turn every tick the same time you move a tile.
Example in this video here of movement and the event box (video starts playing around 14:00):
I'm not quite sure how to do this type of movement & combat system either where the game is set on pause until you press a keystroke and every entity within a loaded map screen (regardless if it is in fog of war or not) performs an action when the player performs an action.
I looked around for scripts or a tutorial to implement these mechanics and I couldn't find anything. Either I'm blind or no one has posted about this yet. If anyone can help me or teach me how, I'd be grateful. 😢
Like this:
I'm trying to wrap my head around this myself basically it's a text box that is part of the UI. And it announces events based off of players actions.
For example:
Player walks into x NPC --> NPC moves a tile away --> "You displace the little girl"
Player walks over x object on ground --> "You see a carpenter's tool here".
Other applications of this are background events that are basically just sentences that add immersion to the world.
For example, walking around in a town and a randomly selected phrase from a list of phrases is played from x% chance and announced into the dialogue box.
The game would check this x% chance every movement turn. The game is turn based like a dungeon crawler. No final fantasy like combat but instead where the NPCs take a turn every tick the same time you move a tile.
Example in this video here of movement and the event box (video starts playing around 14:00):
I'm not quite sure how to do this type of movement & combat system either where the game is set on pause until you press a keystroke and every entity within a loaded map screen (regardless if it is in fog of war or not) performs an action when the player performs an action.
I looked around for scripts or a tutorial to implement these mechanics and I couldn't find anything. Either I'm blind or no one has posted about this yet. If anyone can help me or teach me how, I'd be grateful. 😢