Skip to content

Duel.GetActivityCount ​

Source Code | Usage Examples | Duel Functions

Returns the number of times a player has performed a specified activity or activities.

Signature ​

Duel.GetActivityCount(int player, ActivityCode ...) → int ...

lua
Duel.GetActivityCount(player,...)

Parameters ​

  • int player ​

    The player to get the activities of.

  • ActivityCode ... ​

    The type(s) of activity to get the count of.

Returns ​

  • int ... ​

    The number of times each passed activity has been performed by player. The order of the returned counts correspond to the order of the passed activity codes.


See Also ​