- Joined
- Jun 3, 2014
- Messages
- 4
- Reaction score
- 0
- First Language
- Swedish
- Primarily Uses
Hello, first time poster here. If this already has been answered somewhere else, then obviously that explanation alone was not good enough for my feeble mind (I have accumulated a great amount of hours googling this issue).
I am trying to create an event where a player touches a tile, which pops open a text box and 'spawns' an NPC. In turn this NPC will walk over to the player and initiate another text box.
My predicament is this: How on Earth do I do this!? I have spent countless hours trying to figure out the game flow logic as I am no beginner to programming. My results are generally just infinite loops of the same walking sequence or the NPC spawns but does nothing at all.
I have included an overview of what my script does so far below, however I am looking for design input and general knowledge on how to accomplish this the cleanest, safest way possible. Any help is greatly appreciated!



I am trying to create an event where a player touches a tile, which pops open a text box and 'spawns' an NPC. In turn this NPC will walk over to the player and initiate another text box.
My predicament is this: How on Earth do I do this!? I have spent countless hours trying to figure out the game flow logic as I am no beginner to programming. My results are generally just infinite loops of the same walking sequence or the NPC spawns but does nothing at all.
I have included an overview of what my script does so far below, however I am looking for design input and general knowledge on how to accomplish this the cleanest, safest way possible. Any help is greatly appreciated!



Last edited by a moderator:




