Duel.SpecialSummonStep
Signature
lua
Duel.SpecialSummonStep(Card c, int sumtype, int sumplayer, int target_player, bool nocheck, bool nolimit, int pos, [int zone]) -> boolDescription
Special Summons one card as part of a multi-step Summon procedure and returns true if that step succeeds. Every successful step batch must finish with Duel.SpecialSummonComplete.
How To Use It
Use this only for procedures that need to Special Summon cards one at a time before raising the final Summon events.
Every batch must end with Duel.SpecialSummonComplete. For ordinary effects that just Special Summon one Card or Group, use Duel.SpecialSummon instead.
Related Functions
Parameters
cCardsumtypeintsumplayerinttarget_playerintnocheckboolnolimitboolposintzoneintoptional - default: 0xff
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4874
Guided Examples
Learn how to use this function in context:
- Functions That Move Cards Across Locations
- Normal And Continuous Traps
- Ritual Procedure Guide
- Tokens And Summon Choices
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 785 indexed script(s).
- Search this function in the Script Explorer with
Duel.SpecialSummonStep.
Script Examples
Eternal Favorite (87532344)
Source: Scripts/c87532344.lua
lua
if g:GetCount()>0 then
local tc=g:GetFirst()
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)Surprise Fusion (35167375)
Source: Scripts/c35167375.lua
lua
e1:SetValue(level)
token:RegisterEffect(e1,true)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
end
Duel.SpecialSummonComplete()Ultra Polymerization (76647978)
Source: Scripts/c76647978.lua
lua
local sc=mg:GetFirst()
while sc do
if Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)