Skip to content

Duel.GetLocationCountFromEx

Source Code | Usage Examples | Duel Functions

Gets the number of available zones that (int player) has to perform a Special Summon from the Extra Deck. Optional Parameters: int rplayer is the player performing the summon , by default comes from the player that activates the effect itself; sg are material(s) or tribute(s) for the special summon, it's included when the effect requires the cost of one or more cards; lc is the card that will be special summoned, it's included when it's a specific card which will be special summon). If lc is group, it cannot be passed directly. Instead, pass the type of the monsters in that group (e.g. TYPE_FUSION, see "Construct Element"), which is limited to a single type and will not work properly if the group has different types. The zone parameter is used to limit the check to only some specific zones of the field. The second return is a flag with the available zones.

Signature

Duel.GetLocationCountFromEx(int player, [int rplayer, Group|Card sg = nil, Card|int lc = nil, int zone = 255]) → int, int

lua
Duel.GetLocationCountFromEx(player,rplayer,sg,lc,zone)

Parameters

  • int player

    (To be added)

  • int rplayer

    Optional.

    (To be added)

  • Group|Card sg

    Optional. Defaults to nil.

    (To be added)

  • Card|int lc

    Optional. Defaults to nil.

    (To be added)

  • int zone

    Optional. Defaults to 255.

    (To be added)

Returns


under-construction