ah_sce_unpacked/unpacked/Custom_Model_Bag Official StandaloneChallenge Scenarios 0ef5c8/Custom_Model_Bag Standalone Scenarios 77a5f9/Custom_Model Murder at the Excelsior Hotel 01d780.ttslua
2021-10-18 15:54:27 -04:00

24 lines
571 B
Plaintext

function onload(saved_data)
createDownloadButton()
end
--Beginning Setup
--Make Download button
function createDownloadButton()
self.createButton({
label="Download", click_function="buttonClick_download", function_owner=self,
position={0,0.1,2.2}, rotation={0,0,0}, height=240, width=800,
font_size=150, color={0,0,0}, font_color={1,1,1}
})
end
--Triggered by download button,
function buttonClick_download()
local params = { url = self.getGMNotes(), replace = self.guid }
Global.call('placeholder_download', params)
end