Skip to content

Duel.GetControl

Source Code | Usage Examples | Duel Functions

Gives control of a card/group (Card|Group targets) to a player (int player). If reset_phase and reset_count is specified, will behave like other effects with those resets (and so, the control will be returned when the effect has expired). Works only for monsters in Monster Zone, if zone is specified, if moves monster to that zones only or destroy if they are full. If chose_player is provided, the player selecting the zone is the passed value, if PLAYER_NONE is passed, the player performing the selection is player (int player), otherwise the selecting player will be the current reason player.

Signature

Duel.GetControl(Card|Group targets, int player, [int reset_phase = 0, int reset_count = 0, int zone, int chose_player]) → bool

lua
Duel.GetControl(targets,player,reset_phase,reset_count,zone,chose_player)

Parameters

  • Card|Group targets

    (To be added)

  • int player

    (To be added)

  • int reset_phase

    Optional. Defaults to 0.

    (To be added)

  • int reset_count

    Optional. Defaults to 0.

    (To be added)

  • int zone

    Optional.

    (To be added)

  • int chose_player

    Optional.

    (To be added)

Returns


under-construction