Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Do something like:
DECK1_GUID = Global.getVar('DECK1_GUID')
DECK2_GUID = Global.getVar('DECK2_GUID')
function setUpCards()
local deck = getObjectFromGUID(DECK1_GUID)
local deckpos = deck.getPosition()
deckpos[2] = 4
local deck2 = getObjectFromGUID(DECK2_GUID)
deck2.setPositionSmooth(deckpos, false, false)
deck.randomize()
deck.deal(4)
end
Notes:
deckpos[2] is the height above the table and this just makes sure it drops on top
Also as deck2 will take time to drop so adding a delay before shuffling and dealing might be a good idea.
Wait.time(function() deck.randomize() end, 1)
Wait.time(function() deck.deal(4) end, 1)
Phil.
https://discord.gg/ACKUVDrBsF
This script works very well now.
Thank you for TTS Discord recommendation.