Skip to content

Duel.MoveToField

Source Code | 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

Returns


under-construction