Skip to content

System Dialog API

Nenkai edited this page Jul 14, 2024 · 2 revisions

Note

Possibly only used on PS3. Makes uses of cellMsgDialogOpen2

< MSystemDialog Reference Class >

Open System Prompt

/*
N (Y/O) (N/n) D
N - Normal startup notice, otherwise Error notice (Bit 0-1)
Y = Yes/No button, O = OK button, otherwise no buttons (Bit 4-5)
N/n = Default position, N/n = will default on No button otherwise yes (Bit 9)
D - Default position (Bit 8)

"NYND" for all options, you can also pad out the type i.e "ENYD" where "E" is just padding
*/
var err_str = pdistd::MSystemDialog::open(flag_str, text);

Open Error System Prompt

Uses cellMsgDialogOpenErrorCode

var err_str = pdistd::MSystemDialog::open(error_code_num);
Clone this wiki locally