Duel.SSet
Signature
lua
Duel.SSet(int player, Card|Group targets, [int target_player], [bool confirm]) -> intDescription
Makes player Set targets to target_player's Spell & Trap Zone. If targets is a Group, returns the number of cards successfully Set.
Parameters
playerinttargetsCard|Grouptarget_playerintoptional - default: playerconfirmbooloptional - default: true
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4871
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 364 indexed script(s).
- Search this function in the Script Explorer with
Duel.SSet.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Artmage Non-Finito | 74631897 | Scripts/c74631897.lua | 1 |
| Ashtraja Susanoo | 17020474 | Scripts/c17020474.lua | 2 |
| Albion the Branded Dragon | 87746184 | Scripts/c87746184.lua | 1 |
| Stars Align Above the Shrine | 15306543 | Scripts/c15306543.lua | 1 |
| K9-EW Special Release Experiment | 26585784 | Scripts/c26585784.lua | 1 |
| Dracotail Mululu | 7375867 | Scripts/c7375867.lua | 1 |
| Branded in White | 34995106 | Scripts/c34995106.lua | 1 |
| K9-X Forced Release | 53792930 | Scripts/c53792930.lua | 1 |
| Divine Serpent Apophis | 97800311 | Scripts/c97800311.lua | 1 |
| Toadally Awesome | 90809975 | Scripts/c90809975.lua | 1 |
| Sinful Spoils of the White Forest | 3496543 | Scripts/c3496543.lua | 1 |
| Dracotail Faimena | 1498449 | Scripts/c1498449.lua | 1 |
| R.B. Shepherd's Crook | 80071619 | Scripts/c80071619.lua | 1 |
| Radiant Typhoon Mandate | 53813120 | Scripts/c53813120.lua | 1 |
| Fabled Realm's Revival | 57775790 | Scripts/c57775790.lua | 1 |
| Sudden Thunder Swamp | 23611122 | Scripts/c23611122.lua | 1 |
| Azamina Determination | 42201897 | Scripts/c42201897.lua | 1 |
| Zenet Revelator Nefertari | 84512726 | Scripts/c84512726.lua | 1 |
| Amaze Attraction Thrill Train | 36591747 | Scripts/c36591747.lua | 1 |
| Mementomictlan | 43338320 | Scripts/c43338320.lua | 1 |
| Abyss Actor - Superstar | 25629622 | Scripts/c25629622.lua | 1 |
| Dark Spell Regeneration | 12930501 | Scripts/c12930501.lua | 1 |
| K9-LC Release Restraint | 27308231 | Scripts/c27308231.lua | 1 |
| Loris, Lady of Lament | 50699850 | Scripts/c50699850.lua | 1 |
| ...and 340 more |
Script Examples
Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
end
endAshtraja Susanoo (17020474)
Source: Scripts/c17020474.lua
lua
Duel.ConfirmCards(1-tp,tc)
else
Duel.SSet(tp,tc)
end
endAlbion the Branded Dragon (87746184)
Source: Scripts/c87746184.lua
lua
Duel.ConfirmCards(1-tp,tc)
else
Duel.SSet(tp,tc)
end
end