List Generation Functions
Generic menus in Oblivion can natively render and handle lists of items. These are used in many areas by the vanilla game, such as the skill menu, but can be adapted to any need. This framework provides a very simple interface for doing so.
Historically this aspect of generic menus was unused by generic menus due to the perceived complexity. The only other conventional example is LINK by Maskar.
GMFInsertArrayList
- Args:
@string::sTile,@string::sTemplate,@array::aList,@ref::rFunction- Function Args:
@string::sTile,@array::aList,@int::iIndex- Info:
Inserts the contents of
aListintosTileusing the templatesTemplate.Without
rFunction, this function will only create the number of elements for the list.rFunctionis a user-defined function that provides the rendered information as well as any side-effects intended. See below for examples.Pass 0 for
rFunctionto not userFunction
GMFInsertCustomArrayList
- Args:
@string::sTile,@array::aList,@ref::rFunction- Function Args:
@string::sTile,@array::aList,@int::iIndex- Info:
Inserts the custom contents of
aListintosTile.The array passed must contain a stringmap for each index, with each stringmap at least has the key
templatewhich contains the template you wish to insert for this index.Without
rFunction, this function will only create the number of elements for the list.rFunctionis a user-defined function that provides the rendered information as well as any side-effects intended. See below for examples.Pass 0 for
rFunctionto not userFunction