Duel.SelectOption
Source Code | Usage Examples | Duel
Functions
Allows (int player) to choose between any number of options, starting with (int desc1). Returns the index of the chosen option, e.g. desc1 returns 0, the second option returns 1, etc. If confirm_dialog is false, the announce will be performed, but the no selection hint will be shown to the opponent
Signature
Duel.SelectOption(int player
, [bool confirm_dialog
= true
, int desc1
, any ...
]) → int
lua
Duel.SelectOption(player,confirm_dialog,desc1,...)
Parameters
int
player
(To be added)
bool
confirm_dialog
Optional. Defaults to
true
.(To be added)
int
desc1
Optional.
(To be added)
any
...
Optional.
(To be added)