Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Tabbed dialog list...Possible?  (Read 1520 times)

0 Members and 1 Guest are viewing this topic.

Offline L!nk

  • Members
  • *
Tabbed dialog list...Possible?
« 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

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Tabbed dialog list...Possible?
« Reply #1 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.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline L!nk

  • Members
  • *
Re: Tabbed dialog list...Possible?
« Reply #2 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