Duel.MoveToField
Source Code | Usage Examples | Duel
Functions
A player (int move_player) moves a card (Card c) to the target player's field. The destination must be either LOCATION_MZONE or LOCATION_SZONE (maybe LOCATION_ONFIELD too). It will be sent with the given position (int pos). Its effects will either be enabled or disabled according to the last parameter (bool enabled), if zone is specified, it can only place the card in these zones.
Signature
Duel.MoveToField(Card c
, int move_player
, int target_player
, int dest
, int pos
, bool enabled
, [int zone
]) → bool
lua
Duel.MoveToField(c,move_player,target_player,dest,pos,enabled,zone)
Parameters
Card
c
(To be added)
int
move_player
(To be added)
int
target_player
(To be added)
int
dest
(To be added)
int
pos
(To be added)
bool
enabled
(To be added)
int
zone
Optional.
(To be added)