Duel.SpecialSummonComplete
Signature
lua
Duel.SpecialSummonComplete() -> intDescription
Completes a batch of successful Duel.SpecialSummonStep calls, raises the Summon events, and returns the number of completed Summons.
How To Use It
Use this after a batch of successful Duel.SpecialSummonStep calls.
lua
if Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
Duel.SpecialSummonComplete()
endWithout the complete call, the step Summons do not finish their event handling correctly.
Related Functions
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4875
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 786 indexed script(s).
- Search this function in the Script Explorer with
Duel.SpecialSummonComplete.
Script Examples
Eternal Favorite (87532344)
Source: Scripts/c87532344.lua
lua
Duel.RegisterEffect(e2,tp)
end
Duel.SpecialSummonComplete()
end
endSurprise Fusion (35167375)
Source: Scripts/c35167375.lua
lua
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
end
Duel.SpecialSummonComplete()
end
endUltra Polymerization (76647978)
Source: Scripts/c76647978.lua
lua
sc=mg:GetNext()
end
Duel.SpecialSummonComplete()
end
end