Skip to content

Duel.SelectEffect

Source Code | Usage Examples | Duel Functions

Makes player (int player) select 1 option among possible effects. The ellipsis (...) allows tables in the form {bool condition, int stringid}. The function then makes the player select an effect, displaying the strings whose conditions are true, returning the index of the chosen element or nil.

Signature

Duel.SelectEffect(int player, any ...) → int|nil

lua
Duel.SelectEffect(player,...)

Parameters

Returns


under-construction