local P = createMenuSheet("Dialogue Window") function P.onLoad() P.createWindow() end function P.createWindow() local question = orxonox.DialogueManager:getInstance():getquestion() local default = (winMgr:createWindow("DefaultWindow")) default:setText(question) default:setProperty("UnifiedMaxSize", "{{1,0},{1,0}}") default:setProperty("UnifiedAreaRect", "{{0,0},{0,0},{1,0},{1,0}}") end --[[local numOptions = DialogueManager:getnumOptions() local counter = 1 local offset = 0 --create and name buttons while there are still options while counter <= numOptions do end]]