Hello, I'm pretty new at scripting, however I wanted to make a system of dialog that would immersion to a game, that does not seem to difficult to make.
I'm sort of familiar with the way scripting works, and I'm trying to make a system of dialog that uses global variables to change what NPC's say.
An example would be that a character could ask the player if they've seen the creepy cave over in the distance. Once in the cave, a touched function could be used to change a global variable. Upon returning to the NPC, they would say something different since you visited the location and changed the global variable.
The issue is that, being new at scripting, I'm not sure where to start with such a system, however it does not seem like this would be too hard to make overall. I also have yet to see a model that sort of had this set up already.
Any and all help, greatly appreciated!
|