
Prototype: GemRB.GetCharacters(WindowIndex, ControlIndex)

Metaclass Prototype: GetCharacters(ControlIndex)

Description: Reads the contents of the characters subfolder into a TextArea control.

Parameters:
WindowIndex, ControlIndex  - the control's reference


Return value: numeric, the number of rows read into the TextArea control.
Example:
 TextAreaControl = GemRB.GetControl(SoundWindow, 45)
 GemRB.SetTextAreaSelectable(SoundWindow, TextAreaControl,1)
 GemRB.SetVarAssoc(SoundWindow, TextAreaControl, "Characters", 0)
 RowCount=GemRB.GetCharSounds(SoundWindow, TextAreaControl)

See also: QueryText, GetCharSounds

