OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: L!nk on 06 Mar 2008, 20:37:20

Title: Tabbed dialog list...Possible?
Post by: L!nk on 06 Mar 2008, 20:37:20
I want to make a build menu for vehicles.

There must be a list with tabs(cars,tanks,aircraft,ships). The list must display the vehicles in the selected tab.

Couldn't see any commands or find any scripts that have done this before.

Possible???

L!nk
Title: Re: Tabbed dialog list...Possible?
Post by: Spooner on 06 Mar 2008, 20:40:41
This is possible, but there are no tab-like components provided by the game. Depending on how much work you are prepared to do with graphics and scripting, you could even have something that really looked like tabs, but I'd be happy with just having radio buttons that change the contents of the list: Have four buttons next to the list, with the current one highlighted in a different colour. When the user clicks on a new "tab", empty and refill the list with the appropriate items.
Title: Re: Tabbed dialog list...Possible?
Post by: L!nk on 06 Mar 2008, 20:49:50
Ok thx!

Sounds simple. I just wanted to make sure before I script something. I think the best way to do it will be by using toggle-buttons. Each vehicle also has a sub-catogory. No worries, I figure it out.

Thx alot
L!nk