
Prototype: GemRB.ShowModal(WindowIndex, [Shadow=MODAL_SHADOW_NONE])

Metaclass Prototype: ShowModal([Shadow=MODAL_SHADOW_NONE])

Description: Show a Window on Screen setting the Modal Status. If Shadow is MODAL_SHADOW_GRAY, other windows are grayed. If Shadow is MODAL_SHADOW_BLACK, they are blacked out.

Parameters: WindowIndex - the index returned by LoadWindow()
Shadow - 0,1 or 2
MODAL_SHADOW_NONE = 0
MODAL_SHADOW_GRAY = 1
MODAL_SHADOW_BLACK = 2

Return value: N/A

See also: SetVisible

MD5: fdde4cda097b7ab5cd23aae7fb1313ec
