Skip to content

Duel.GetLocationCount ​

Source Code | Usage Examples | Duel Functions

Returns 2 values. First the number of zones that a player (target_player) has available in a location of the field (int location)[, that can be used by the player (use_player), with intention of (reason), among certain zones (zone)]. Second return is a flag with the available zones.

Signature ​

Duel.GetLocationCount(int player, int location, [int use_player, int reason, int zone]) → int, int

lua
Duel.GetLocationCount(player,location,use_player,reason,zone)

Parameters ​

  • int player ​

    (To be added)

  • int location ​

    (To be added)

  • int use_player ​

    Optional.

    (To be added)

  • int reason ​

    Optional.

    (To be added)

  • int zone ​

    Optional.

    (To be added)

Returns ​


under-construction