SCED/objects/Community-CreatedPlayerCardsInvestigators.ed4ca7/BattleGoesOn.dd90c5.ttslua
bootleggerFinn b5fbe4d0db Initial 2.4.0
Rearranged table for new campaign
Previously featured community content converted to downloader versions
Updated/Added Following content: The Scarlet Keys, Celtic Rising, Jumanji, Machining a Mystery, Dr. Jekyll and Mr. Hyde, CYOA Campaign Guides, Dead Space Investigators, Aespa Investigators, Magical Girl Project, Streets of New Capenna, The Bad Batch, Arkham Fantasy  Pixel Art Mini-Cards
Updated snap points
Updated spawn position of standalone scenarios/challenge scenarios memory bags
2022-12-08 16:54:44 -06:00

23 lines
570 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