Duel.MoveSequence
Signature
lua
Duel.MoveSequence(Card c, int seq) -> voidDescription
Moves c to sequence seq within its current controller and location if c is affected by the resolving reason effect. The core raises EVENT_MOVE for the moved card and returns no Lua values.
Parameters
cCardseqint
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4884
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 144 indexed script(s).
- Search this function in the Script Explorer with
Duel.MoveSequence.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Flower Cardian Peony with Butterfly | 57261568 | Scripts/c57261568.lua | 1 |
| Vaylantz Genesis Grand Duke | 76075139 | Scripts/c76075139.lua | 1 |
| Arktos XII - Chronochasm Vaylantz | 50687050 | Scripts/c50687050.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 |
| Mamonaka the Vaylantz United | 40680521 | Scripts/c40680521.lua | 1 |
| Rank-Up-Magic Zexal Force | 36224040 | Scripts/c36224040.lua | 1 |
| S-Force Justify | 35334193 | Scripts/c35334193.lua | 1 |
| Loris, Lady of Lament | 50699850 | Scripts/c50699850.lua | 1 |
| Shadowreaver Knight 21 | 95506252 | Scripts/c95506252.lua | 1 |
| Oracle of Zefra | 32354768 | Scripts/c32354768.lua | 1 |
| Magikey Mechmusket - Batosbuster | 19489718 | Scripts/c19489718.lua | 1 |
| Sprind the Irondash Dragon | 1906812 | Scripts/c1906812.lua | 1 |
| Valiant Shark Lancer | 23672629 | Scripts/c23672629.lua | 1 |
| Adamancipator Risen - Leonite | 47674738 | Scripts/c47674738.lua | 1 |
| Raiza the Mega Monarch | 69327790 | Scripts/c69327790.lua | 2 |
| Galaxy Satellite Dragon | 92362073 | Scripts/c92362073.lua | 1 |
| Theorealize | 48739627 | Scripts/c48739627.lua | 1 |
| Uradora of Fate | 27753563 | Scripts/c27753563.lua | 2 |
| Parallel Panzer | 93394164 | Scripts/c93394164.lua | 1 |
| Seventh Ascension | 23153227 | Scripts/c23153227.lua | 1 |
| Destiny HERO - Dark Angel | 26964762 | Scripts/c26964762.lua | 2 |
| R.B. VALCan Booster | 6821579 | Scripts/c6821579.lua | 1 |
| ...and 120 more |
Script Examples
Flower Cardian Peony with Butterfly (57261568)
Source: Scripts/c57261568.lua
lua
for i=1,ct do
local mg=Duel.GetDecktopGroup(1-tp,1)
Duel.MoveSequence(mg:GetFirst(),SEQ_DECKBOTTOM)
end
endVaylantz Genesis Grand Duke (76075139)
Source: Scripts/c76075139.lua
lua
local s=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,~flag)
local nseq=math.log(s,2)
Duel.MoveSequence(sc,nseq)
end
endArktos XII - Chronochasm Vaylantz (50687050)
Source: Scripts/c50687050.lua
lua
local nseq=math.log(s,2)
Duel.HintSelection(sg)
Duel.MoveSequence(sc,nseq)
end
end