Button_SetMOS

Prototype: GemRB.SetButtonMOS (WindowIndex, ControlIndex, MOSResRef)

Metaclass Prototype: SetMOS (MOSResRef)

Description: Sets the Picture of a Button Control from a MOS file.

Parameters:

  • WindowIndex, ControlIndex - the control’s reference
  • MOSResRef - the name of the picture (a .mos resref)

Return value: N/A

See also: Button_SetBAM, Button_SetPLT, Button_SetPicture


Back to function index, GUIScript introduction.