ListDef (GUI item type)
A listDef from Doom3
A list of textual items for selection. Most lists in generated in the engine, including the list of saved games, the multiplayer server list, the list of maps, the mods list, and several others. In Doom 3, the lists used in the PDA (PDAs, emails, audio logs, videos) are generated dynamically in the game code, allowing dynamic addition of new assets.
Additional properties
Example(s)
listDef MMCLoadList {
rect 0, 0, 306, 212
foreColor 1, 1, 1, 1
bordercolor 0.3 ,0.52 ,0.5 ,0.5
textscale 0.25
listName "modsList"
font "fonts/an"
onAction {
set "cmd" "play guisounds_click3" ;
resetTime "MMCBtn1" "0" ;
}
onEnter {
set "cmd" "play guisounds_menuclickup" ;
set "cmd" "loadMod" ;
}
}