Documentation

Yes/No/Cancel Box - Open Dev Kit Documentation

Open Dev Kit Documentation :: GUI :: Yes/No/Cancel Box

GUI.ShowYesNoCancelBox(
  Title String,
  Message String
) Integer
Alert in the operating system with Yes, No, and Cancel buttons; returns 1 for Yes, 0 for No, -1 for Cancel

Parameters

Title String
Title/heading of the box
Message String
Message/body of the box

Return Value

Integer

Lua Usage

local integer = GUI.ShowYesNoCancelBox(title, message)

If you think anything is missing, please feel free to: submit documentation feedback on this page