lfnetwork.com mark read register faq members calendar

Thread: UI question about action
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 03-30-2007, 03:33 PM   #1
UDM
 
Join Date: Mar 2003
Posts: 922
UI question about action

Hey, take a look at this code

itemDef
{
name createserver
group playbuttons
text @MENUS_CREATE
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
rect 0 200 130 24
font 3
textscale 0.8
textaligny 0
textalign ITEM_ALIGN_CENTER
textstyle 0
textalignx 65
backcolor 0 0 0 0
forecolor 0.7 0.7 0.7 1
visible 0

action
{
play "sound/weapons/saber/saberhup1.mp3" ;
show grpsettings_createserver ;
show humanbotfield ;
show humanbotnonfield ;

}
}

Now my item is such that if I click on the Create Server button, it unhides grpsettings_createserver, humanbotfield and humanbotnonfield. Can I define my item such that if I click another time on it, instead of, showing grpsettings_createserver, humanbotfield and humanbotnonfield, it will hide them instead?
UDM is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > General Editing > UI question about action

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:16 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.