How would I efficiently gun and dialog system?

Good morning Developers!

I am going to be making a gun system and dialog system. I have made those in the past, but that was when I was pretty new to scripting and I want to remake them and much better. So I want to ask what is the most efficient way to script a gun system and dialog system? What I mean by dialog system is one where you talk to an NPC and have multiple options via GUI like The Walking Dead game or Fallout 4.

Some questions I have:

  1. What should I use module? If so, what for specifically and how should I go about?
  2. Any no-no’s for scripting a gun/dialog system?

That’s it, thanks!

I have recategorised this from Code Review to Scripting Support. Please only use the Code Review category if you have fully finished code that you are looking for a review on, not for asking for advice or help on systems. That is what the Scripting Support category is for. Read our category guidelines so you can better understand if your post is appropriate for the category.