Skip to content

Duel.SSet ​

Signature ​

lua
Duel.SSet(int player, Card|Group targets, [int target_player], [bool confirm]) -> int

Description ​

Makes player Set targets to target_player's Spell & Trap Zone. If targets is a Group, returns the number of cards successfully Set.

Parameters ​

  • player int
  • targets Card|Group
  • target_player int optional - default: player
  • confirm bool optional - 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.
CardIDScriptDetected Calls
Artmage Non-Finito74631897Scripts/c74631897.lua1
Ashtraja Susanoo17020474Scripts/c17020474.lua2
Albion the Branded Dragon87746184Scripts/c87746184.lua1
Stars Align Above the Shrine15306543Scripts/c15306543.lua1
K9-EW Special Release Experiment26585784Scripts/c26585784.lua1
Dracotail Mululu7375867Scripts/c7375867.lua1
Branded in White34995106Scripts/c34995106.lua1
K9-X Forced Release53792930Scripts/c53792930.lua1
Divine Serpent Apophis97800311Scripts/c97800311.lua1
Toadally Awesome90809975Scripts/c90809975.lua1
Sinful Spoils of the White Forest3496543Scripts/c3496543.lua1
Dracotail Faimena1498449Scripts/c1498449.lua1
R.B. Shepherd's Crook80071619Scripts/c80071619.lua1
Radiant Typhoon Mandate53813120Scripts/c53813120.lua1
Fabled Realm's Revival57775790Scripts/c57775790.lua1
Sudden Thunder Swamp23611122Scripts/c23611122.lua1
Azamina Determination42201897Scripts/c42201897.lua1
Zenet Revelator Nefertari84512726Scripts/c84512726.lua1
Amaze Attraction Thrill Train36591747Scripts/c36591747.lua1
Mementomictlan43338320Scripts/c43338320.lua1
Abyss Actor - Superstar25629622Scripts/c25629622.lua1
Dark Spell Regeneration12930501Scripts/c12930501.lua1
K9-LC Release Restraint27308231Scripts/c27308231.lua1
Loris, Lady of Lament50699850Scripts/c50699850.lua1
...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
end

Ashtraja Susanoo (17020474) ​

Source: Scripts/c17020474.lua

lua
				Duel.ConfirmCards(1-tp,tc)
			else
				Duel.SSet(tp,tc)
			end
		end

Albion the Branded Dragon (87746184) ​

Source: Scripts/c87746184.lua

lua
			Duel.ConfirmCards(1-tp,tc)
		else
			Duel.SSet(tp,tc)
		end
	end