NuiOptions( int, json, json )

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

A list of options (radio buttons). Only one can be selected


// A list of options (radio buttons). Only one can be selected
// at a time. jValue is updated every time a different element is
// selected. The special value -1 means "nothing".
json                     // Element
NuiOptions(
  int nDirection,        // NUI_DIRECTION_*
  json jElements,        // JsonArray of string labels
  json jValue            // Bind:UInt
);

Return

json Element

Parameters

nDirection
NUI_DIRECTION_*
jElements
JsonArray of string labels
jValue
JsonInt or NuiBind (Note: dont' get it confused with a NWN int)


Description

A list of options (radio buttons). Only one can be selected


Remarks

Version

This function was added in 1.85.8193.31 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.


See Also

functions:

NUI Functions