Duel.ConfirmDecktop
Signature
lua
Duel.ConfirmDecktop(int player, int count) -> voidDescription
Reveals up to count cards from the top of player's Main Deck to the client. count is clamped to the remaining Deck size. The function yields for the reveal wait and returns no Lua values.
Parameters
playerintcountint
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4890
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 154 indexed script(s).
- Search this function in the Script Explorer with
Duel.ConfirmDecktop.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| GMX 55th Experiment Report | 38984832 | Scripts/c38984832.lua | 1 |
| GMX - VELOX | 82706696 | Scripts/c82706696.lua | 1 |
| Purrely | 25550531 | Scripts/c25550531.lua | 1 |
| Magellanica, the Deep Sea City | 26534688 | Scripts/c26534688.lua | 1 |
| Gunkan Sushipyard Seaside Supper Spot | 62200831 | Scripts/c62200831.lua | 1 |
| Sylvan Dancepione | 21903613 | Scripts/c21903613.lua | 1 |
| Rank-Up-Magic Zexal Force | 36224040 | Scripts/c36224040.lua | 1 |
| Materiactor Meltthrough | 66059345 | Scripts/c66059345.lua | 1 |
| Ma'at | 18631392 | Scripts/c18631392.lua | 1 |
| Silk Bomb Moth | 18300894 | Scripts/c18300894.lua | 1 |
| Shadowreaver Knight 21 | 95506252 | Scripts/c95506252.lua | 1 |
| Oracle of Zefra | 32354768 | Scripts/c32354768.lua | 1 |
| Materiactor Meltdown | 38669664 | Scripts/c38669664.lua | 1 |
| GMX Applied Experiment #55 | 18795635 | Scripts/c18795635.lua | 1 |
| Buerillabaisse de Nouvelles | 26223582 | Scripts/c26223582.lua | 1 |
| Super Koi Koi | 66171432 | Scripts/c66171432.lua | 1 |
| Chaos Ruler, the Chaotic Magical Dragon | 3040496 | Scripts/c3040496.lua | 1 |
| Valiant Shark Lancer | 23672629 | Scripts/c23672629.lua | 1 |
| Adamancipator Risen - Leonite | 47674738 | Scripts/c47674738.lua | 1 |
| Akashic Magician | 28776350 | Scripts/c28776350.lua | 1 |
| Uradora of Fate | 27753563 | Scripts/c27753563.lua | 1 |
| Rafale, Champion Fur Hire | 38916526 | Scripts/c38916526.lua | 1 |
| Shooting Star Dragon | 24696097 | Scripts/c24696097.lua | 1 |
| Hollowrokket Dragon | 51548207 | Scripts/c51548207.lua | 1 |
| ...and 130 more |
Script Examples
GMX 55th Experiment Report (38984832)
Source: Scripts/c38984832.lua
lua
Duel.ConfirmCards(1-tp,g)
else
Duel.ConfirmDecktop(tp,count)
end
endGMX - VELOX (82706696)
Source: Scripts/c82706696.lua
lua
end
if seq>-1 then
Duel.ConfirmDecktop(tp,dct-seq)
if e:GetHandler():IsSetCard(0x1dd) then
Duel.RaiseEvent(e:GetHandler(),EVENT_CUSTOM+1595137,e,0,tp,tp,0)Purrely (25550531)
Source: Scripts/c25550531.lua
lua
function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
Duel.ConfirmDecktop(p,3)
local g=Duel.GetDecktopGroup(p,3)
if not g or #g<1 then return end