Duel.SSet
Source Code | Usage Examples | Duel Functions
Sets a card(s) to the Spell & Trap Zone or Field Zone. Can be used to Set Spells/Traps, as well as monsters with an effect that allows them to be Set in the Spell & Trap Zone (e.g. the "Artifact" monsters).
Signature
Duel.SSet(int player, Card|Group targets, [int target_player = player, bool confirm = true]) → int
lua
Duel.SSet(player,targets,target_player,confirm)Parameters
int
playerThe player that is Setting the card(s).
Card|Group
targetsThe card(s) to Set.
int
target_playerOptional. Defaults to
player.The player in whose field the card(s) will be Set.
bool
confirmOptional. Defaults to
true.Determines whether the Set card(s) will be shown to the opponent or not after being Set. Should be set to
falseif the effect can Set any Spell/Trap (e.g. "Ariane the Labrynth Servant" or "Dust Tornado", but not "Ancient Gear Drill").