Duel.Sendto
Source Code | Usage Examples | Duel
Functions
Sends a card or group (Card|Group targets) to the location (int location) with (int reason) as reason in (ins pos) position (only applies in Extra Deck and Banish). If (int player) is supplied, the destination would be that player's location. A seq value of 0 means it's put on the top, 1 means it's put on the bottom, other values means it's put on the top, and then if it is in the Deck, it will be shuffled after the function resolution, except if Duel.DisableShuffleCheck() is set to true beforehand. If (int rp) is provided, sets the reason player to be that player. Returns the number of cards successfully sent.
Signature
Duel.Sendto(Card|Group c
, int location
, int reason
, [int pos
= POS_FACEUP
, int player
= PLAYER_NONE
, int sequence
= 0
, int rp
]) → int
Duel.Sendto(c,location,reason,pos,player,sequence,rp)
Parameters
Card|Group
c
(To be added)
int
location
(To be added)
int
reason
(To be added)
int
pos
Optional. Defaults to
POS_FACEUP
.(To be added)
int
player
Optional. Defaults to
PLAYER_NONE
.(To be added)
int
sequence
Optional. Defaults to
0
.(To be added)
int
rp
Optional.
(To be added)