Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- les_cut_deck = "f39219"
- function onLoad(save_state)
- buttonParameter = {
- function_owner = self,
- label = "",
- width = 400,
- height = 400,
- color = {0,0,0,0},
- tooltip = "Get a new Card"
- }
- buttonParameter.position = {0, 0.1, 0}
- self.setVar("button", function () getCard(les_cut_deck) end)
- buttonParameter.click_function = "button"
- self.createButton(buttonParameter)
- end
- function getCard(name)
- WoundsDeck = getObjectFromGUID(name)
- WoundsDeck.takeObject({position = {0, 0.1, 0}})
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement