Duel.SelectXyzMaterial
Signature
lua
Duel.SelectXyzMaterial(int player, Card scard, function|nil f, int lv, int minc, int maxc, [Group|nil materials]) -> GroupDescription
Lets player select Xyz Materials for scard for material Xyz Level lv and material count range, with optional filter and material group. Use this only after a matching Duel.CheckXyzMaterial check has succeeded. It yields and returns the selected Group.
Parameters
playerint- Player choosing the Xyz Materials.scardCard- Xyz Monster whose materials are being selected.ffunction|nil- Optional per-material filter.lvint- Required material Xyz Level.mincint- Minimum material count.maxcint- Maximum material count.materialsGroup|niloptional - Optional candidate material group.
Returns
Group- The selected Xyz Materials.
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:5013
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
No indexed local card script currently calls this function.
This can mean the function is unused in the current script set, is only called through an alias, or is available for future/manual scripts.