Page 1 of 1

How to Create Option Buttons

Posted: Tue Jun 04, 2019 3:40 pm
by TheSAguy
Hi,

I have an idea for a RPG type mod.
One feature I'd like to implement is that you choose goal and then a reward if accomplished.

I was playing with Klonan's Teleporters mod and though that would look nice if you had option panels/buttons appear on screen like his mod where you choose the destination you want to teleport to.

The game should pause, you have a choice of let's say 3 options. (Goals or Rewards)

I've never coded anything like this before, so need some good guidance here please.

Thanks,

Re: How to Create Option Buttons

Posted: Thu Jun 06, 2019 10:40 am
by eduran
To get started, have a look at the documentation for LuaGuiElement and LuaGui. With that, try to understand what is happening in some mods with GUIs. I found NewGame+ reasonable easy to understand. Once you have specific questions come back here.

Re: How to Create Option Buttons

Posted: Wed Jun 12, 2019 10:53 pm
by TheSAguy
Thanks for the starting point Eduran!