Originally Posted by Glen348
how can i get the dialog window to activate the mouse cursor after confirming delete?
Lua Code:
local confirmDeleteDialog = { title = { text = GetString(SI_B1UI_DELETEBUTTON_TITLE)}, mainText = { text = GetString(SI_B1UI_DELETEBUTTON_MAINTEXT)}, buttons = { [1]={ text = GetString(SI_B1UI_YES_LABEL), callback = function() B1UI.DeletePage() end, }, [2]={ text = GetString(SI_B1UI_NO_LABEL) } } }
|
I think this is what you mean? Use:
Lua Code:
SetGameCameraUIMode(true)
Lua Code:
local confirmDeleteDialog = {
title = { text = GetString(SI_B1UI_DELETEBUTTON_TITLE)},
mainText = { text = GetString(SI_B1UI_DELETEBUTTON_MAINTEXT)},
buttons = {
[1]={
text = GetString(SI_B1UI_YES_LABEL),
callback = function()
B1UI.DeletePage()
SetGameCameraUIMode(true)
end,
},
[2]={
text = GetString(SI_B1UI_NO_LABEL)
}
}
}